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 not supporting tags #16241

Closed
whiskeyjimbo opened this issue Oct 2, 2017 · 2 comments
Closed

aws_nat_gateway not supporting tags #16241

whiskeyjimbo opened this issue Oct 2, 2017 · 2 comments

Comments

@whiskeyjimbo
Copy link

Terraform Version

Terraform v0.10.7

Terraform Configuration Files

resource "aws_nat_gateway" "nat_gw" {
  provider      = "aws.va"
  allocation_id = "${aws_eip.nat_eip.id}"
  subnet_id     = "${aws_subnet.public.0.id}"
  depends_on    = ["aws_internet_gateway.igw"]

  #tags = "${merge(var.default_tags, map(
  #      "Name", "ngw-main-priv",
  #      "Management", "Terraform"
  #))}"
  tags {
    Name = "gw NAT"
  }
}

Expected Behavior

Expected Behavior: Nat Gateway Accepts tag values and applies to resource.
Nat Gateway supports tagging per docs (https://www.terraform.io/docs/providers/aws/r/nat_gateway.html) and per AWS (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html)

Actual Behavior

received error:
aws_nat_gateway.nat_gw: : invalid or unknown key: tags

Steps to Reproduce

  1. Add aws_nat_gateway resource to conifig
  2. Add tags.
  3. terraform plan/apply
@ewbankkit
Copy link
Contributor

Addressed in hashicorp/terraform-provider-aws#1625.
Released in version 1.0.0 of the AWS provider.

@ghost
Copy link

ghost commented Apr 6, 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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants