File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
internal/service/emrserverless Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1058,6 +1058,8 @@ resource "aws_emrserverless_application" "test" {
10581058
10591059func testAccApplicationConfig_monitoringConfigurationUpdated (rName string ) string {
10601060 return fmt .Sprintf (`
1061+ data "aws_region" "current" {}
1062+
10611063resource "aws_s3_bucket" "test_updated" {
10621064 bucket = "%[1]s-updated"
10631065 force_destroy = true
@@ -1083,7 +1085,7 @@ resource "aws_emrserverless_application" "test" {
10831085 }
10841086
10851087 prometheus_monitoring_configuration {
1086- remote_write_url = "https://aps-workspaces.us-east-1 .amazonaws.com/workspaces/ws-12345678-1234-1234-1234-123456789012/api/v1/remote_write"
1088+ remote_write_url = "https://aps-workspaces.${data.aws_region.current.name} .amazonaws.com/workspaces/ws-12345678-1234-1234-1234-123456789012/api/v1/remote_write"
10871089 }
10881090
10891091 s3_monitoring_configuration {
You can’t perform that action at this time.
0 commit comments