Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # dynamic構文を記載(actionsとresourcesは便宜上記載していません。)
- data "aws_iam_policy_document" "dynamic_test_document" {
- dynamic "statement" {
- for_each = local.policy_document_effects
- content {
- sid = statement.key + 1
- effect = statement.value
- actions = [
- ]
- resources = [
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement