We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c2f771 commit 15286fdCopy full SHA for 15286fd
modules/aws/sso_account_assignment/README.md
@@ -67,3 +67,28 @@ module "iam_example" {
67
}
68
69
```
70
+
71
+You can also provide inline IAM policies:
72
73
+```hcl
74
+data "aws_iam_policy_document" "example" {
75
+ statement {
76
+ actions = [
77
+ "s3:ListAllMyBuckets",
78
+ "s3:GetBucketLocation",
79
+ ]
80
81
+ resources = ["arn:aws:s3:::*"]
82
+ }
83
+}
84
85
+module "iam_example" {
86
+ # ...
87
88
+ permission_sets = {
89
+ S3BucketAccess = {
90
+ inline_policy = data.aws_iam_policy_document.example.json
91
92
93
94
+```
0 commit comments