Adding IPv6 assign on creation for public subnets #307
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows the user to toggle automatic assignment of IPv6 addresses to public subnets.
Description
Solves issue #185. Basically, this is a mini-feature until #300 is fully approved and merged.
Currently, creation of IPv6 blocks on subnets is a manual process. This makes sure that any of those manual assignments done via the AWS console are not overridden upon running
terraform apply
.Motivation and Context
Currently I have public subnets that are assigning IPv6 addresses to instances already, and would like if I could apply Terraform updates without this setting being set to
false
each time.Also, I understand that #300 is also using this
assign_ipv6_address_on_creation
on private / database subnets as well, but as I understand it, this module creates those subnets with the intention to be private-only (i.e. IPv4). Since all IPv6 are publicly routable, I figured it made sense to only put them on public subnets in this PR.How Has This Been Tested?
Types of changes
Checklist: