-
Notifications
You must be signed in to change notification settings - Fork 14
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
Invalid reference to ServiceprincipalMap when creating a StateMachine using the default IAM role #83
Comments
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. |
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. |
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. |
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. |
Versions
@cdktf/aws-cdk: 0.4.9
aws-cdk-lib: 2.24.0
cdktf: 0.10.4
I'm using the TF CDK AWS adapter to create an AWS Step Functions
StateMachine
, but it looks like the default IAM role references aServiceprincipalMap
that doesn't exist.State machine definition:
Default role that gets created:
And the error when attempting to apply:
I'm assuming this is because there's a disconnect in how the regional service "Fact" gets resolved, as there doesn't appear to be any
ServiceprincipalMap
mapping anywhere in the cdktf json output.Note that I can work around the issue by supplying my own Role, using the deprecated
region
option (so that the default regionalFact resolution referenced above doesn't apply):The text was updated successfully, but these errors were encountered: