Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Changed the example as it does not work.
  • Loading branch information
domenicsim1 authored Jun 14, 2024
1 parent 0e579b7 commit 2755e4f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,16 @@ terraform {
required_providers {
octopusdeploy = {
source = "OctopusDeployLabs/octopusdeploy"
version = "version-number" # example: 0.7.62
version = "version-number" # example: 0.21.1
}
}
}
data "octopusdeploy_space" "space" {
provider = octopusdeploy.unscoped
name = "Development Team"
}
provider "octopusdeploy" {
# configuration options
address = "https://octopus.example.com" # (required; string) the service endpoint of the Octopus REST API
api_key = "API-XXXXXXXXXXXXX" # (required; string) the API key to use with the Octopus REST API
space_id = data.octopusdeploy_space.space.id # (optional; string) the space ID in Octopus Deploy
space_id = "Spaces-1" # (optional; string) the space ID in Octopus Deploy
}
```

Expand Down

0 comments on commit 2755e4f

Please sign in to comment.