managed-service-grafana

clowdhaus/managed-service-grafana/aws

Terraform Module HCL AWS

Terraform module to create AWS Managed Service for Grafana (AMG) resources πŸ‡ΊπŸ‡¦

Install
module "managed-service-grafana" {
source = "clowdhaus/managed-service-grafana/aws"
version = "2.3.1"
}
⭐ Source on GitHub πŸ“¦ Registry page
README

AWS Managed Service for Grafana (AMG) Terraform module Terraform module which creates AWS Managed Service for Grafana (AMG) resources. ![SWUbanner](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md) Usage See examples directory for working examples to reference: ``hcl module "managed_grafana" { source = "terraform-aws-modules/managed-service-grafana/aws" # Workspace name = "example" description = "AWS Managed Grafana service example workspace" account_access_type = "CURRENT_ACCOUNT" authentication_providers = ["AWS_SSO"] permission_type = "SERVICE_MANAGED" data_sources = ["CLOUDWATCH", "PROMETHEUS", "XRAY"] notification_destinations = ["SNS"] # Workspace API keys workspace_api_keys = { viewer = { key_name = "viewer" key_role = "VIEWER" seconds_to_live = 3600 } editor

Inputs (50)
NameTypeDescriptionDefault
tagsmap(string)A map of tags to add to all resources{}
grafana_versionstringSpecifies the version of Grafana to support in the new workspace. If not specifinull
create_iam_roleboolDetermines whether a an IAM role is created or to use an existing IAM roletrue
iam_role_force_detach_policiesboolDetermines whether the workspace IAM role policies will be forced to detachtrue
workspace_service_account_tokensanyMap of workspace service account tokens to create{}
saml_login_validity_durationnumberSAML authentication login validity durationnull
grafana_tokenstringA token from Grafana Labs that ties your AWS account with a Grafana Labs accountnull
security_group_descriptionstringDescription of the security group creatednull
create_workspaceboolDetermines whether a workspace will be created or to use an existing workspacetrue
iam_role_arnstringExisting IAM role ARN for the workspace. Required if `create_iam_role` is set tonull
enable_alertsboolDetermines whether IAM permissions for alerting are enabled for the workspace IAfalse
saml_admin_role_valueslist(string)SAML authentication admin role values[]
saml_idp_metadata_xmlstringSAML authentication IDP Metadata XML. Note that either `saml_idp_metadata_url` onull
security_group_tagsmap(string)A map of additional tags to add to the security group created{}
createboolDetermines whether a resources will be createdtrue
organization_role_namestringThe role name that the workspace uses to access resources through Amazon Organiznull
organizational_unitslist(string)The Amazon Organizations organizational units that the workspace is authorized t[]
stack_set_namestringThe AWS CloudFormation stack set name that provisions IAM roles to be used by thnull
vpc_configurationanyThe configuration settings for an Amazon VPC that contains data sources for your{}
iam_role_pathstringWorkspace IAM role pathnull
… and 10 more inputs
Outputs (18)
workspace_arn β€” The Amazon Resource Name (ARN) of the Grafana workspace
workspace_api_keys β€” The workspace API keys created including their attributes
workspace_iam_role_policy_name β€” IAM Policy name of the Grafana workspace IAM role
license_free_trial_expiration β€” If `license_type` is set to `ENTERPRISE_FREE_TRIAL`, this is the expiration date of the free trial
workspace_grafana_version β€” The version of Grafana running on the workspace
workspace_iam_role_name β€” IAM role name of the Grafana workspace
saml_configuration_status β€” Status of the SAML configuration
license_expiration β€” If `license_type` is set to `ENTERPRISE`, this is the expiration date of the enterprise license
workspace_endpoint β€” The endpoint of the Grafana workspace
workspace_service_account_tokens β€” The workspace service account tokens created including their attributes
workspace_iam_role_arn β€” IAM role ARN of the Grafana workspace
workspace_iam_role_unique_id β€” Stable and unique string identifying the IAM role
workspace_iam_role_policy_id β€” Stable and unique string identifying the IAM Policy
security_group_arn β€” Amazon Resource Name (ARN) of the security group
security_group_id β€” ID of the security group
workspace_id β€” The ID of the Grafana workspace
workspace_service_accounts β€” The workspace service accounts created including their attributes
workspace_iam_role_policy_arn β€” IAM Policy ARN of the Grafana workspace IAM role
Resources (12)
aws_grafana_license_associationaws_grafana_role_associationaws_grafana_workspaceaws_grafana_workspace_api_keyaws_grafana_workspace_saml_configurationaws_grafana_workspace_service_accountaws_grafana_workspace_service_account_tokenaws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentaws_security_groupaws_security_group_rule
Details
FrameworkTerraform Module
LanguageHCL
Version2.3.1
Cloud AWS
β˜… Stars41
Forks51
Total downloads4.2k
Inputs50
Outputs18
Resources12
Examples1
LicenseApache-2.0
Namespaceclowdhaus
Updated