modify_subnet_attribute should be available on the subnet resource
See original GitHub issuehttp://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifySubnetAttribute.html
I’m creating VPCs/subnets from scratch, and they default to having MapPublicIpOnLaunch off. I want to turn it on. It would be nice to be able to say:
subnet.map_public_ip_on_launch = True
instead of
subnet.meta.client.modify_subnet_attribute(SubnetId=subnet.id, MapPublicIpOnLaunch={"Value": True})
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
modify-subnet-attribute — AWS CLI 1.27.29 Command ...
To modify a subnet on an Outpost rack, set both MapCustomerOwnedIpOnLaunch and CustomerOwnedIpv4Pool . These two parameters act as a single attribute.
Read more >modify-subnet-attribute — AWS CLI 2.9.6 Command Reference
To modify a subnet on an Outpost rack, set both MapCustomerOwnedIpOnLaunch and CustomerOwnedIpv4Pool . These two parameters act as a single attribute. ·...
Read more >Modifying a Subnet Attribute :: Public Documentation - Docs
You can modify an attribute of a subnet. You can specify whether a public IPExternal IP (EIP) in AWS-Compliant APIs is assigned to...
Read more >AWS Subnet Tip: Using the Auto-Assign Attribute
If you select the default subnet at the time of instance creation and choose the "Use subnet setting" option, the instance will have...
Read more >aws_subnet | Resources | hashicorp/aws - Terraform Registry
When managing subnets in one of a VPC's secondary CIDR blocks created using a aws_vpc_ipv4_cidr_block_association resource, it is recommended to reference that ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
was any PR/ work done in this area or still on the backlog?
Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.