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

Allow import of aws_route_table_association #12280

Closed
GuiSim opened this issue Feb 27, 2017 · 3 comments
Closed

Allow import of aws_route_table_association #12280

GuiSim opened this issue Feb 27, 2017 · 3 comments

Comments

@GuiSim
Copy link
Contributor

GuiSim commented Feb 27, 2017

Terraform Version

v0.8.7

Affected Resource(s)

  • aws_route_table_association

Currently if you run terraform import on a aws_route_table_association you'll get an error:

* import module.X.aws_route_table_association.Y (id: rtbassoc-1234f171): resource aws_route_table_association doesn't support import

Allowing route table associations to be imported would be really useful. Right now, I can do it by manually editing the state file but it is an error prone process.

You can get the id of a route table association through

aws ec2 describe-route-tables --route-table-ids rtb-123436a4

They follow the format rtbassoc-XXXXX.

Thanks!

@aqt01
Copy link

aqt01 commented Feb 21, 2019

When is this expected to be fixed?

@jonigl
Copy link

jonigl commented Sep 24, 2019

@aqt01 I'm sure you found the solution already but, perhaps others with the same question could arrive here so, this is the solution to import aws_route_table_association:

terraform import aws_route_table_association.your-rt-assoc-name subnet-id/rtb-id

Enjoy :)

@ghost
Copy link

ghost commented Sep 25, 2019

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 Sep 25, 2019
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

5 participants