How can I import (atlantis import ...) a resource whose ID is an ARN? #4284
Answered
by
marcelo-modolo
marcelo-modolo
asked this question in
Q&A
-
I'm trying to import a resource like aws_iam_policy using arn, but I get the message that the resource doesn't exist (but it does exist). |
Beta Was this translation helpful? Give feedback.
Answered by
marcelo-modolo
Feb 25, 2024
Replies: 1 comment 7 replies
-
did you try quotes? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I found an error in the configuration of the providers (alias) and as there are several accounts with crossed roles and policies it took me a long time to identify, I was able to import the roles but not the policies, after adjusting the accounts that were not correctly identified I was able to import and finally apply the changes.
I apologize for the work I did for all of you and confirm that importing resources using an ARN is working perfectly in Atlantis.
Thanks,
Marcelo Módolo