We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1a7ee commit db5d824Copy full SHA for db5d824
.changelog/40639.txt
@@ -1,3 +1,3 @@
1
```release-note:bug
2
-data-source/aws_iam_policy_document: Reverts 40652 due to issues. See: 40639.
+data-source/aws_iam_policy_document: Reverts plan-time validation for `statement` `sid`
3
```
internal/service/iam/policy_document_data_source.go
@@ -143,6 +143,8 @@ func dataSourcePolicyDocument() *schema.Resource {
143
"principals": principalsSchema(),
144
names.AttrResources: setOfStringSchema(),
145
"sid": {
146
+ // Because policy documents are widely used outside IAM, we don't enforce
147
+ // IAM validation rules requiring alphanumeric and no spaces.
148
Type: schema.TypeString,
149
Optional: true,
150
},
0 commit comments