-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for generic oidc accounts #831
Conversation
go.mod
Outdated
@@ -3,7 +3,7 @@ module github.com/OctopusDeploy/terraform-provider-octopusdeploy | |||
go 1.21 | |||
|
|||
require ( | |||
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.60.0 | |||
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.62.3-0.20241202024636-075a4f06c227 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use OctopusDeploy/go-octopusdeploy#288 for now.
Will update with the correct version once go client is merged after octopus server changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
return | ||
} | ||
|
||
tflog.Debug(ctx, "Creating generic oidc account", map[string]interface{}{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine to leave this as is but in the future, we can now use any
instead of interface{}
in Go. Makes the code easier to read.
resource.TestCheckResourceAttr(resourceName, "audience", audience), | ||
), | ||
ResourceName: resourceName, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please include a 2nd TestStep
so that we can also test update. It will basically be the same step, just with a slight change in the config, like a different description.
Adds the ability to create and get a generic oidc account
[sc-98285]