Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing routes & ACL rules #13779

Closed
AMMullan opened this issue Apr 19, 2017 · 3 comments
Closed

Importing routes & ACL rules #13779

AMMullan opened this issue Apr 19, 2017 · 3 comments

Comments

@AMMullan
Copy link

I'm trying to import existing infrastructure but am not sure how to import ACL Rules and Routes for AWS.

Terraform Version

v0.8.8

Affected Resource(s)

  • aws_route
  • aws_network_acl_rule

Would just like to know if you can import these or you just have to apply and force it to overwrite the existing items?

@grubernaut
Copy link
Contributor

Hi @AMMullan,

We currently do not support importing these two resources. Is it okay to treat this as a feature request for these resources? Thanks!

@AMMullan
Copy link
Author

Hi @grubernaut,

Yep, that'd be great. Not 100% sure if/how this is going to be achievable but if you guys can do it it'd be amazing.

YakDriver added a commit to YakDriver/terraform-provider-aws that referenced this issue Aug 29, 2018
Enable use of standard import mechanism to import aws_route
resources. The enhancement was complicated by AWS not assigning
route table routes (aws_route) an ID. However, a route can be
uniquely identified with a route table ID and CIDR destination.
Thus, creating a pseudo ID defined by
r-ROUTETABLEID_CIDRDESTINATION allows routes to be identified and
imported.

Related hashicorp#5631, #704, hashicorp/terraform#13779
@ghost
Copy link

ghost commented Apr 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants