Skip to content

Commit

Permalink
Fix end to end dw cluster test runs
Browse files Browse the repository at this point in the history
Clusters are auto-deleted from the AWS account. To keep them some tags
with the proper values must be applied.
This change removes the owner tag, the frameword value should be used
automatically to keep the resources around.
  • Loading branch information
tevesz committed Feb 14, 2025
1 parent f67ae6d commit 8c4d359
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/dw/resource_dw_acc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func testAccAwsEnvironmentConfig(envParams *awsEnvironmentTestParameters) string
create_private_subnets = true
create_service_endpoints = false
tags = {
"made-with": "CDP Terraform Provider"
"made-with": "CDP Terraform Provider"
}
}`, envParams.Name, envParams.Region, envParams.PublicKeyId, envParams.InstanceProfile,
envParams.StorageLocationBase, envParams.VpcId, envParams.SubnetIds)
Expand All @@ -265,7 +265,7 @@ func testAccAwsDataLakeConfig(params *awsDataLakeTestParameters) string {
enable_ranger_raz = false
tags = {
"made-with": "CDP Terraform Provider"
"made-with": "CDP Terraform Provider"
}
depends_on = [ cdp_environments_id_broker_mappings.test_idbm_dw_aws ]
Expand Down Expand Up @@ -319,7 +319,7 @@ func testAccHiveVirtualWarehouse(name string) string {
availability_zone = "us-west-2a"
ebs_llap_spill_gb = 300
tags = {
owner = "cdw-terraform@cloudera.com"
"made-with": "CDP Terraform Provider"
}
}
}
Expand Down

0 comments on commit 8c4d359

Please sign in to comment.