# Override AWS account ID on Datadog integration because you can only have one Datadog integration configuration per AWS account
override_data {
  target = data.aws_caller_identity.current
  values = {
    account_id = "123456789012"
  }
}

run "cloud_cost_management_disabled" {
  variables {
    environment   = "dev"
    aws_role_name = "terraform-test-datadog-integration-role"
    cloud_cost_management_config = {
      enabled = false
    }
  }
}

# Tests for cloud cost management enabled not currently implemented because
# it is not currently possible to tear down a non-empty S3 bucket using the S3 module.
