Skip to content

Commit

Permalink
Fix changelog, comment on validation
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Dec 19, 2024
1 parent 2f1a7ee commit db5d824
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .changelog/40639.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:bug
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`
```
2 changes: 2 additions & 0 deletions internal/service/iam/policy_document_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ func dataSourcePolicyDocument() *schema.Resource {
"principals": principalsSchema(),
names.AttrResources: setOfStringSchema(),
"sid": {
// Because policy documents are widely used outside IAM, we don't enforce
// IAM validation rules requiring alphanumeric and no spaces.
Type: schema.TypeString,
Optional: true,
},
Expand Down

0 comments on commit db5d824

Please sign in to comment.