We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given examples here:
{ "Version": "2012-10-17", "Id": "PutObjPolicy", "Statement": [ { "Sid": "DenyIncorrectEncryptionHeader", "Effect": "Deny", "Principal": "*", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::<bucket_name>/*", "Condition": { "StringNotEquals": { "s3:x-amz-server-side-encryption": "AES256" } } }, { "Sid": "DenyUnEncryptedObjectUploads", "Effect": "Deny", "Principal": "*", "Action": "s3:PutObject", "Resource": "arn:aws:s3:::<bucket_name>/*", "Condition": { "Null": { "s3:x-amz-server-side-encryption": true } } } ] }
1st, does not recognise Principal:*
unable to convert: json: cannot unmarshal string into Go struct field jsonStatement.Principal of type map[string]converter.stringOrStringArray
2nd, does not convert json booleans to terraform strings
condition { test = "Null" variable = "s3:x-amz-server-side-encryption" values = [""] }
The text was updated successfully, but these errors were encountered:
Add support for wildcard principals #2
bc51992
Thanks for the report! Fixed and released as release 1.2.0
Sorry, something went wrong.
No branches or pull requests
Given examples here:
1st, does not recognise Principal:*
2nd, does not convert json booleans to terraform strings
The text was updated successfully, but these errors were encountered: