-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Remove deprecated argument "vpc" #230
Conversation
/terratest |
I'm unsure on the correct fix in the lint step and the codeowners seems different than other repos which leads me to believe that the repo is a little out of date. I reached out in the sweetops slack channel for assistance by an @cloudposse/admins and @cloudposse/approvers . https://sweetops.slack.com/archives/CUJPCP1K6/p1715088607211699 |
/terratest |
/terratest |
Still seems like the linter is failing @osterman. Terratest passes tho |
@goruha can you check what is going on? |
@osterman @goruha As I said before, adding @yuekui @nitrocode The linter is failing because it is applying new standards to old code. Nothing in the PR is wrong, but despite that, syntax in the Terraform code (in the module or the examples) like join("", aws_instance.default.*.id) is no longer allowed. You need to globally replace |
Got it, I could fix that, thanks! |
💥 This pull request now has conflicts. Could you fix it @yuekui? 🙏 |
Pull request was closed
This pull request was automatically closed as it no longer contains any changes. This typically happens when another merged pull request has already included this request's |
This pull request was automatically closed as it no longer contains any changes. This typically happens when another merged pull request has already included this request's |
/terratest |
what
Remove the deprecated
vpc
argument to fix the warning. Thevpc
parameter has been deprecated since the AWS provider version 5.0, there's no need to explicitly specify eithervpc
ordomain
. Simply omitting it and using the default value will ensure optimal compatibility.references
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip#vpc