You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set create_security_group to false, and provide your security groups with associated_security_group_ids, terraform will fail to plan with this error:
│ Error: Null value found in list
│
│ with module.ec2_client_vpn[0].aws_ec2_client_vpn_network_association.default[0],
│ on .terraform/modules/ec2_client_vpn/main.tf line 226, in resource "aws_ec2_client_vpn_network_association" "default":
│ 226: security_groups = concat(
│ 227: [module.vpn_security_group.id],
│ 228: local.associated_security_group_ids
│ 229: )
│
│ Null values are not allowed for this attribute value.
As soon as I set it to true, it works (with the same security groups!).
I think the problem is that basically the value is a list of [null, my-ids], and aws_ec2_client_vpn_network_association don't like it.:
Found a bug? Maybe our Slack Community can help.
Describe the Bug
If you set
create_security_group
tofalse
, and provide your security groups withassociated_security_group_ids
, terraform will fail to plan with this error:As soon as I set it to
true
, it works (with the same security groups!).I think the problem is that basically the value is a list of [null, my-ids], and
aws_ec2_client_vpn_network_association
don't like it.:Expected Behavior
Being able to set
create_security_group
to falseEnvironment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
The text was updated successfully, but these errors were encountered: