Skip to content

Terraform will not build VPNs. #12440

@magnusthorne

Description

@magnusthorne

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

0.8.8 The problem has existed since 0.7

Affected Resource(s)

Please list the resources as a list, for example:
aws_vpn_connection

Terraform Configuration Files

resource "aws_vpn_connection" "name-removed" {
    vpn_gateway_id = "${aws_vpn_gateway.name-removed.id}"
    customer_gateway_id = "${aws_customer_gateway.name-removed.id}"
    type = "ipsec.1"
    static_routes_only = false

    tags {
        Name = "name-removed"
    }
}

Debug Output

Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.

Panic Output

If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.

Expected Behavior

Create a VPN in Terraform. Delete the VPN manually. Run Terraform apply again. I expect it to create the VPN.

Actual Behavior

It doesn't build a VPN. I must wait until AWS removes the deleted VPN from the console to run the apply again.

Steps to Reproduce

Create a VPN in Terraform. Delete the VPN manually. Run Terraform apply again.

Important Factoids

AWS VPN

References

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions