Terraform module to create and manage Amazon Managed Grafana
Name | Version |
---|---|
terraform | >= 1.0 |
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_grafana_license_association.default | resource |
aws_grafana_role_association.this | resource |
aws_grafana_workspace.default | resource |
aws_grafana_workspace_api_key.default | resource |
aws_grafana_workspace_saml_configuration.default | resource |
aws_iam_policy.default | resource |
aws_iam_role.default | resource |
aws_iam_role_policy_attachment.data_sources | resource |
aws_iam_role_policy_attachment.default | resource |
aws_caller_identity.current | data source |
aws_iam_policy_document.assume_policy | data source |
aws_iam_policy_document.default | data source |
aws_partition.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
description | The workspace description | string |
n/a | yes |
name | The Grafana workspace name | string |
n/a | yes |
tags | A mapping of tags to assign to the resources | map(string) |
n/a | yes |
account_access_type | The type of account access for the workspace. Valid values are CURRENT_ACCOUNT and ORGANIZATION . If ORGANIZATION is specified, then organizational_units must also be present |
string |
"CURRENT_ACCOUNT" |
no |
authentication_providers | The authentication providers for the workspace. Valid values are AWS_SSO , SAML , or both |
list(string) |
[ |
no |
configuration | The configuration string for the workspace that you create | string |
null |
no |
data_sources | The data sources for the workspace. Valid values are AMAZON_OPENSEARCH_SERVICE , ATHENA , CLOUDWATCH , PROMETHEUS , REDSHIFT , SITEWISE , TIMESTREAM , XRAY |
list(string) |
[] |
no |
grafana_version | Specifies the version of Grafana to support in the new workspace. If not specified, the default version for the aws_grafana_workspace resource will be used. See aws_grafana_workspace documentation for available options. |
string |
"8.4" |
no |
iam_role_arn | The arn of the IAM role to use for grafana workspace | string |
null |
no |
license_type | The type of license for the workspace license association. Valid values are ENTERPRISE and ENTERPRISE_FREE_TRIAL |
string |
null |
no |
network_access_control | Configuration for network access to your workspace | object({ |
null |
no |
notification_destinations | The notification destinations. If a data source is specified here, Amazon Managed Grafana will create IAM roles and permissions needed to use these destinations. Must be set to SNS |
list(string) |
[ |
no |
organization_role_name | The role name that the workspace uses to access resources through Amazon Organizations | string |
null |
no |
organizational_units | The Amazon Organizations organizational units that the workspace is authorized to use data sources from | list(string) |
[] |
no |
permission_type | The permission type of the workspace. If SERVICE_MANAGED is specified, the IAM roles and IAM policy attachments are generated automatically. If CUSTOMER_MANAGED is specified, the IAM roles and IAM policy attachments will not be created |
string |
"SERVICE_MANAGED" |
no |
role_association | List of user/group IDs to assocaite to a role | list(object({ |
[] |
no |
saml_configuration | The SAML configuration for the workspace | object({ |
null |
no |
vpc_configuration | The configuration settings for an Amazon VPC that contains data sources for your Grafana workspace to connect to | object({ |
null |
no |
workspace_api_key | List of workspace API Key resources to create | list(object({ |
[] |
no |
Name | Description |
---|---|
license_expiration | The expiration date of the enterprise license |
license_free_trial_expiration | The expiration date of the free trial |
workspace | The Grafana workspace details |
workspace_api_keys | The workspace API keys created including their attributes |
workspace_iam_role | The IAM role details of the Grafana workspace |
workspace_saml | The Grafana workspace saml configuration details |