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] enable auto-assign public IP within subnets #263

Closed
hden opened this issue Sep 4, 2014 · 5 comments · Fixed by #285
Closed

[aws] enable auto-assign public IP within subnets #263

hden opened this issue Sep 4, 2014 · 5 comments · Fixed by #285

Comments

@hden
Copy link
Contributor

hden commented Sep 4, 2014

This option is visible in the subnet status, but only modifiable from another API call. Should we make it an attribute or another resource?

resource "aws_subnet" "main" {
    vpc_id = "${aws_vpc.main.id}"
    cidr_block = "10.0.1.0/24"
    map_public_ip_on_launch = true
}

Depends on: mitchellh/goamz#95
Related to: #214, #252

@mitchellh
Copy link
Contributor

It should be part of the same resource, I believe.

@arnuschky
Copy link

Is this maybe connected to #252 ?

@arnuschky
Copy link

See also #277 - wasn't entirely sure if this is a duplicate

@nduka145
Copy link

map_public_ip_on_launch = true was helpful

@ghost
Copy link

ghost commented Jul 24, 2019

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 Jul 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants