-
Notifications
You must be signed in to change notification settings - Fork 0
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
ENG-43804: updating provider for supporting multiple accounts config #3
Conversation
github.com/hashicorp/terraform-plugin-docs v0.14.1 | ||
github.com/hashicorp/terraform-plugin-sdk/v2 v2.17.0 | ||
github.com/stretchr/testify v1.7.0 | ||
github.com/aws/aws-sdk-go-v2 v1.26.1 |
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.
bumped every dependency to latest version, github is flagging vulnerabilities on the current main: https://github.com/Traceableai/terraform-provider-awsapigateway/security/dependabot
conn := meta.(AwsApiGatewayProvider) | ||
|
||
for _, account := range accounts { | ||
acc := 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.
There's no chance that these type casts would error, right?
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.
No, if there's a type mismatch, then terraform will throw an error before calling into the provider as its strictly typed there
api_list = ["api1", "api2"] | ||
cross_account_role_arn = "" | ||
exclude = false | ||
} | ||
} |
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.
can add another one for include
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.
sure, sorry, just merged the pr :|
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.
No description provided.