-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
IAM Role ARN not being parsed correctly when passed to aws_dms_endpoint #12584
Comments
May be a dumb question, but just for testing's sake, have you tried passing in the hardcoded arn to see if it still behaves the same way? |
That still doesn't seem to work, unfortunately. I get the same error. |
@conleyst taking a look at the documentation and the underlying code, there are two properties at play: resource "aws_dms_endpoint" "my_dms_endpoint" {
endpoint_id = "dms-s3-target"
endpoint_type = "target"
engine_name = "s3"
extra_connection_attributes = "dataFormat=parquet;bucketName=${aws_s3_bucket.dms_target.bucket};bucketFolder=my_data"
service_access_role_arn = aws_iam_role.dms_role.arn
} |
When using |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform Version
0.12.21
aws-2.49
Affected Resource(s)
aws_dms_endpoint
Terraform Configuration Files
Output
The arn that is being specified resolves to
arn:aws:iam::012345678910:role/dms_role
in the planning step.Expected Behavior
DMS endpoint should be created using the specified role and bucket.
Actual Behavior
Endpoint is not created with the above exception being thrown.
Steps to Reproduce
terraform apply
Important Factoids
Running this using terraform cloud.
I would otherwise specify the role in
s3_settings
, but due to the issue referenced below, I'm unable to specify the file output format inextra_connection_attributes
and specify the role ins3_settings
.References
The text was updated successfully, but these errors were encountered: