provider/aws: Set aws_subnet ipv6_cidr_block to computed (#14542)

Fixes: #14361

An IPv6 CIDR block is option and can be added *after* a subnet has been
created. Therefore, we should set it to `Computed: true`

Otherwise, a manually created IPv6 association will be removed on the
next terraform run
This commit is contained in:
Paul Stack 2017-05-16 17:34:16 +03:00 committed by GitHub
parent 8793edf668
commit f351de9758
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ func resourceAwsSubnet() *schema.Resource {
"ipv6_cidr_block": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"availability_zone": {