-
-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
bug🐛 An issue with the system🐛 An issue with the system
Description
Describe the Bug
While creating an AWS VPN connection, I plan to connect to cloudWAN. I either want an unassociated connection or a cloudWAN connection.
This is not an option in the module. I can create an unnassociated connection with the transit_gateway_enabled = true variable but it will then error on the aws_ec2_tag resource.
Error: creating ec2 resource () tag (Namespace): tagging resource (): tagging resource (): operation error EC2: CreateTags, https response error StatusCode: 400, RequestID: 26f5316c-911b-4de2-bbb4-f98115f3f964, api error InvalidID: The ID '' is not valid
│
│ with module.vpn_connection_use1.aws_ec2_tag.default["Namespace"],
│ on .terraform/modules/vpn_connection_use1/main.tf line 141, in resource "aws_ec2_tag" "default":
│ 141: resource "aws_ec2_tag" "default" {
Expected Behavior
I expect to have a cloudWAN option or allow for an unassociated VPN connection status that does not cause aws_ec2_tag errors.
Steps to Reproduce
Do a terraform apply with the following configuration
module "vpn_connection_euw1" {
source = "cloudposse/vpn-connection/aws"
version = "1.8.1"
providers = {
aws = aws.euw1
}
namespace = "auctane"
name = "cgw-prisma-${var.vpn_regions["euw1"].region_name}-cloudwan"
customer_gateway_device_name = "cgw-prisma-${var.vpn_regions["euw1"].region_name}-cloudwan"
customer_gateway_bgp_asn = var.vpn_regions["euw1"].customer_gateway_bgp_asn
customer_gateway_ip_address = var.vpn_regions["euw1"].customer_gateway_ip
transit_gateway_enabled = true
}
Screenshots
No response
Environment
No response
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system