Hello,
I am getting below error while using module for AWS managed Grafana. (Terraform Registry)
TF version :- 1.3.0
AWS Provider Version :- 4.55.0
I am using below value for the input variable.
account_access_type = “ORGANIZATION”
below excerpt is from it documentaion.
account_access_type string
Description: The type of account access for the workspace. Valid values are CURRENT_ACCOUNT
and ORGANIZATION
Default: "CURRENT_ACCOUNT"
terraform plan gets successful, but while applying it, I am getting below error.
Error: creating Grafana Workspace: ValidationException: When the accountAccessType is ORGANIZATION a list of Organizational Units should be provided.
│ {
│ RespMetadata: {
│ StatusCode: 400,
│ RequestID: "140af920-c12b-496b-99e9-2dffb0cb7e6f"
│ },
│ Message_: "When the accountAccessType is ORGANIZATION a list of Organizational Units should be provided."
│ }
│
│ with module.managed_grafana.aws_grafana_workspace.this[0],
│ on .terraform/modules/managed_grafana/main.tf line 12, in resource "aws_grafana_workspace" "this":
│ 12: resource "aws_grafana_workspace" "this" {
Has anybody faced same issue?
Thx
Amit