question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

modify_subnet_attribute should be available on the subnet resource

See original GitHub issue

http://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:closed
  • Created 8 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
DanyC97commented, Dec 3, 2015

was any PR/ work done in this area or still on the backlog?

0reactions
github-actions[bot]commented, Feb 27, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found