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_nat_gateway does not accept tags #1755

Closed
nbirnel opened this issue Sep 26, 2017 · 3 comments
Closed

aws_nat_gateway does not accept tags #1755

nbirnel opened this issue Sep 26, 2017 · 3 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope.

Comments

@nbirnel
Copy link

nbirnel commented Sep 26, 2017

Terraform Version

Terraform v0.10.6

Terraform Configuration Files

resource "aws_nat_gateway" "nat_gateway_c" {
  allocation_id = "${aws_eip.nat-c.id}"
  subnet_id     = "${aws_subnet.public-sn-c.id}"

  depends_on = ["aws_internet_gateway.cf1-east"]

  tags {
      Name = "nat-a"
      env = "prod"
      terraform = "yes"
  }
}

Output

1 error(s) occurred:

  • aws_nat_gateway.nat_gateway_c: : invalid or unknown key: tags

Expected Behavior

successful plan. AWS NAT gateways do accept tags through the web UI and through the aws cli.

Steps to Reproduce

terraform plan --target=aws_nat_gateway.nat_gateway_c --out=tag-nat-c.plan

@stack72
Copy link
Contributor

stack72 commented Sep 27, 2017

Hi @nbirnel

The code for tagging NAT Gateways was just added in #1625

Is it waiting release in 1.0.0

Paul

@tombuildsstuff
Copy link
Contributor

Hey @nbirnel

This has been released in v1.0.0 of the AWS Terraform Provider - as such I'm going to close this out

Thanks!

@tombuildsstuff tombuildsstuff added the enhancement Requests to existing resources that expand the functionality or scope. label Sep 27, 2017
@ghost
Copy link

ghost commented Apr 11, 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 11, 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.
Projects
None yet
Development

No branches or pull requests

3 participants