-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
aws_lambda_function.vpc_config always detects a change when empty #443
Comments
Still seeing this on 0.9.8 |
I checked on 0.9.11 and it seems to be fixed. |
I am still seeing this issue in 0.9.11. EDIT: and 0.10.8 vpc_config {
security_group_ids = []
subnet_ids = []
} |
+1 It is really troublesome if you have to manage Lambda functions in Classic and VPC. |
Still seeing this in Terraform 0.11.0 with AWS provider 1.5.0. |
0.11.1 as well with 1.6.0 although the error chagned a bit for me
|
Still experiencing this issue on version v0.11.3 |
Anyone has any luck with this? I'm on version 0.11.5 and it's still happening. Ideally I'd like to create one module for both normal and in vpc lambda. If there's no workaround creating two modules seem the easiest workaround. |
Still happening for me on 0.11.7 and AWS provider 1.20.0 |
any ETA ? |
@giuliocalzolari If you are interested in testing out this feature in a patched v1.21.0 version, I've made some Alpine Linux x64 binaries available here: https://github.com/lifeomic/terraform-provider-aws/releases/tag/v1.21.0_patched_5f7d0def That fork will likely see future patched versions as well. I haven't had a chance to update it for the latest release yet but I'm sure it will happen. |
Needs to exist until hashicorp/terraform-provider-aws#443 is fixed.
In version 1.35.0 of the AWS provider, releasing shortly, the vpc_config {
security_group_ids = []
subnet_ids = []
} |
This has been released in version 1.35.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
This issue was originally opened by @rochdev as hashicorp/terraform#10900. It was migrated here as part of the provider split. The original body of the issue is below.
Terraform Version
0.8.2
Affected Resource(s)
aws_lambda_function
Terraform Configuration Files
Expected Behavior
Right after applying,
terraform plan
should not detect any change since there aren't any.Actual Behavior
Right after applying,
terraform plan
detects a change invpc_config
. If you apply the change,terraform plan
will still detect the same change over and over again.Relevant part of the output:
Steps to Reproduce
terraform plan
terraform apply
References
Seem to be related:
The text was updated successfully, but these errors were encountered: