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

Unsupported Argument - 'An argument named "ARN" is not expected here.' in 'dome9_cloudaccount_aws' #147

Open
paul-ej opened this issue Jun 17, 2022 · 3 comments

Comments

@paul-ej
Copy link

paul-ej commented Jun 17, 2022

When attempting to onboard an AWS account using the dome9 terraform provider, when running 'terraform plan', no issues shown, but when running 'terraform apply', prompts with an error that ARN is not supported within the credentials block within the 'dome9_cloudaccount_aws'.

Terraform versions tested:
1.2.0
1.2.2

Provider versions tested:
1.26.0
1.25.4

@Xyders
Copy link

Xyders commented Jun 28, 2022

What was your error message looked like? I also had similar error when onboarding. Even I tested with cli 'aws sts assume-role --role-arn xxx ...' that showed my arn and external id and trust role all good.

@paul-ej
Copy link
Author

paul-ej commented Jun 29, 2022

Here's the exact error, sensitive details omitted

│ Error: Unsupported argument

│ on cloudguard_aws_onboard.tf line 13, in resource "dome9_cloudaccount_aws" "insert_aws_account_name_here":
│ 13: ARN = "insert_arn_here"

│ An argument named "ARN" is not expected here.

@paul-ej paul-ej closed this as completed Jun 29, 2022
@paul-ej paul-ej reopened this Jun 29, 2022
@dolevh-d9
Copy link
Collaborator

@paul-ej
I need to see the Terraform resource configuration in order to help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants