This repository creates the following resources:
- Dynatrace IAM groups
- Dynatrace IAM policies
- Bindings of the policies - both predefined and custom - to the created/configured groups.
- As required in the ticket, boundaries will not be created by the repository as the functionality is not available through code.
- Policies are not created with environment scope as it is a deprecated functionality (as per the terraform documentation). However, the functionality could be achieved through policy statement condition.
Please refer to the variables.tf and iam_group_variable_type.tf for details on the input variables.
No outputs
Name | Version |
---|---|
dynatrace | ~> 1.0 |
Name | Version |
---|---|
dynatrace | ~> 1.0 |
Name | Source | Version |
---|---|---|
groups_and_bindings | ./groups_and_bindings | n/a |
Name | Type |
---|---|
dynatrace_iam_policy.env_policy | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
accountUUID | Root account UUID | string |
n/a | yes |
groups_and_permissions | Map containing group name, federated values and policy attachment configuration | map(object({ |
{} |
no |
iam_policies | Map of policy names and their policy query statement. | map(string) |
n/a | yes |
No outputs.