-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
aws-iam: policy statements are trying to validate tokens #13479
aws-iam: policy statements are trying to validate tokens #13479
Comments
Hey @cheng-kevin , looks like you're right - while usually in the CDK you can do things like: const myParameter = new cdk.CfnParameter(this, 'Param');
new iam.PolicyStatement({
actions: [
`${myParameter.value}:*`,
],
effect: iam.Effect.ALLOW,
resources: [ '*' ]
}
); This results in the following error:
Probably this code should check if |
What @skinny85 said is accurate |
Looking for guidance on error messaging and/or docs to update Fixes #13479 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
❓ General Issue
Are IAM PolicyDocument Actions limited to string types? I am trying to reference a cloudformation parameter as my action.
The Question
Environment
Other information
The text was updated successfully, but these errors were encountered: