Skip to content

Commit

Permalink
Fix: make cloud_credentials data test isolated
Browse files Browse the repository at this point in the history
  • Loading branch information
GiliFaroEnv0 committed Oct 4, 2023
1 parent 5a469bc commit f9874f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/024_cloud_credentials/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ data "env0_aws_credentials" "aws_credentials2" {
}

output "credentials_name" {
value = var.second_run ? replace(data.env0_aws_credentials.aws_credentials["Test Role arn1 ${random_string.random.result}"].name, random_string.random.result, "") : ""
value = var.second_run ? replace(data.env0_aws_credentials.aws_credentials1.name, random_string.random.result, "") : ""
}

0 comments on commit f9874f2

Please sign in to comment.