Skip to content
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_launch_template: ipv4_address_count cannot be set #5851

Closed
kl4w opened this issue Sep 12, 2018 · 3 comments · Fixed by #5830
Closed

aws_launch_template: ipv4_address_count cannot be set #5851

kl4w opened this issue Sep 12, 2018 · 3 comments · Fixed by #5830
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Milestone

Comments

@kl4w
Copy link
Contributor

kl4w commented Sep 12, 2018

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Terraform v0.11.8

  • provider.aws: 1.35

Affected Resource(s)

  • aws_launch_template

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
resource "aws_launch_template" "name" {
  network_interfaces {
    ipv4_address_count          = 1
  }
}

Expected Behavior

ipv4_address_count should be able to set

I believe this is due to the field being marked computed. After removing that line it seems to be working just fine.

Actual Behavior

Error: aws_launch_template.name: "network_interfaces.0.ipv4_address_count": this field cannot be set

References

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service. labels Sep 12, 2018
@bflad bflad added this to the v1.36.0 milestone Sep 12, 2018
@bflad
Copy link
Contributor

bflad commented Sep 12, 2018

Support has been merged in and will release with version 1.36.0 of the AWS provider, likely later today. 👍

@bflad
Copy link
Contributor

bflad commented Sep 13, 2018

This has been released in version 1.36.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 3, 2020

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!

@ghost ghost locked and limited conversation to collaborators Apr 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/ec2 Issues and PRs that pertain to the ec2 service.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants