Skip to content

Commit

Permalink
Added some more instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Jul 31, 2024
1 parent 55dea5d commit 85f24e0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion internal/steps/octopus_destination_details.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fyne.io/fyne/v2/layout"
"fyne.io/fyne/v2/widget"
"github.com/mcasperson/OctoterraWizard/internal/state"
"github.com/mcasperson/OctoterraWizard/internal/strutil"
"github.com/mcasperson/OctoterraWizard/internal/validators"
"github.com/mcasperson/OctoterraWizard/internal/wizard"
"net/url"
Expand Down Expand Up @@ -72,7 +73,11 @@ func (s OctopusDestinationDetails) GetContainer(parent fyne.Window) *fyne.Contai

validation("")

introText := widget.NewLabel("Enter the URL, API key, and Space ID of the Octopus instance you want to export to (i.e. the destination server).")
introText := widget.NewLabel(strutil.TrimMultilineWhitespace(`
Enter the URL, API key, and Space ID of the Octopus instance you want to export to (i.e. the destination server).
Note that all the resources in the destination space must be managed by Terraform.
Typically this means the destination space must be blank and all resources are created by running this wizard.
Terraform will not replace or update existing resources by default.`))
linkUrl, _ := url.Parse("https://octopus.com/docs/octopus-rest-api/how-to-create-an-api-key")
link := widget.NewHyperlink("Learn how to create an API key.", linkUrl)

Expand Down

0 comments on commit 85f24e0

Please sign in to comment.