InvalidParameterCombination - The request must contain a modification to the ipam pool
kverstr opened this issue · comments
Kim commented
Hi,
Trying to do an IPv6 setup in ipam. However after an initial deploy, whatever I try to update, I get the error
InvalidParameterCombination - The request must contain a modification to the ipam pool
`
module "ipv6_aws" {
source = "aws-ia/ipam/aws"
version = "~> 2.0"
top_name = "AWS public IPv6 pool"
top_netmask_length = "52"
address_family = "ipv6"
ipam_scope_type = "public"
top_aws_service = "ec2"
top_publicly_advertisable = true
top_public_ip_source = "amazon"
top_locale = "eu-central-1"
pool_configurations = {
eu-central-1 = {
name = "AWS public IPv6 pool eu-central-1"
description = "Pool for ipv6 eu-central-1"
netmask_length = "53"
locale = "eu-central-1"
aws_service = "ec2"
public_ip_source = "amazon"
sub_pools = {
lab = {
name = "AWS public IPv6 pool eu-central-1 lab"
netmask_length = "55"
aws_service = "ec2"
ram_share_principals = ["arn:aws:organizations::xxxxxxxxxxxxx:ou/o-xxxxxx/ou-xxxx-xxxxxx"]
public_ip_source = "amazon"
}
nprd = {
name = "AWS public IPv6 pool eu-central-1 nprd"
netmask_length = "55"
aws_service = "ec2"
ram_share_principals = ["arn:aws:organizations::xxxxxxxxxxxxx:ou/o-xxxxxxxx/ou-xxxx-xxxxxxxxx"]
public_ip_source = "amazon"
}
#prod = {
# name = "AWS public IPv6 pool eu-central-1 prod"
# netmask_length = "55"
# aws_service = "ec2"
# ram_share_principals = ["arn:aws:organizations::xxxxxxxxxxxxx:ou/o-xxxxxxxx/ou-xxxx-xxxxxxxxx"]
# public_ip_source = "amazon"
#}
}
}
eu-west-1 = {
name = "AWS public IPv6 pool eu-west-1"
description = "Pool for ipv6 eu-west-1"
netmask_length = "53"
locale = "eu-west-1"
aws_service = "ec2"
public_ip_source = "amazon"
sub_pools = {
lab = {
name = "AWS public IPv6 pool eu-west-1 lab"
netmask_length = "55"
aws_service = "ec2"
ram_share_principals = ["arn:aws:organizations::xxxxxxxxxxxxx:ou/o-xxxxxxxx/ou-xxxx-xxxxxxxx"]
public_ip_source = "amazon"
}
nprd = {
name = "AWS public IPv6 pool eu-west-1 nprd"
netmask_length = "55"
aws_service = "ec2"
ram_share_principals = ["arn:aws:organizations::xxxxxxxxxxxxx:ou/o-xxxxxxxx/ou-xxxx-xxxxxxxxx"]
public_ip_source = "amazon"
}
#prod = {
# name = "AWS public IPv6 pool eu-west-1 prod"
# netmask_length = "55"
# aws_service = "ec2"
# ram_share_principals = ["arn:aws:organizations::xxxxxxxxxxxxx:ou/o-xxxxxxxx/ou-xxxx-xxxxxxxxx"]
# public_ip_source = "amazon"
#}
}
}
}
}
`
(using TF version v1.6.4)
If for example I try to create eu-central-1 first and after deploy eu-west-1, it fails with that error.
if I try to deploy everything except prod and deploy prod later, it fails with that error.
If I try to add RAM shares later, fails with that error.
Am I missing something? variables? I don't immediately see what could cause this.
Thanks in advance
Kr