diff --git a/sumologic/resource_sumologic_cloudwatch_source_test.go b/sumologic/resource_sumologic_cloudwatch_source_test.go index 5c801de6..5f3e9823 100644 --- a/sumologic/resource_sumologic_cloudwatch_source_test.go +++ b/sumologic/resource_sumologic_cloudwatch_source_test.go @@ -182,7 +182,13 @@ resource "sumologic_cloudwatch_source" "cloudwatch" { namespace = "AWS/Route53" tags = ["k1=v1"] } + } + lifecycle { + ignore_changes = [ + path["use_versioned_api"] + ] + } } `, cName, cDescription, cCategory, sName, sDescription, sCategory, testAwsRoleArn) } diff --git a/sumologic/resource_sumologic_gcp_metrics_source_test.go b/sumologic/resource_sumologic_gcp_metrics_source_test.go index 45256f06..5cc38e5b 100644 --- a/sumologic/resource_sumologic_gcp_metrics_source_test.go +++ b/sumologic/resource_sumologic_gcp_metrics_source_test.go @@ -252,7 +252,7 @@ func testAccSumologicGcpMetricsSourceConfig(t *testing.T, cName, cDescription, c } } lifecycle { - ignore_changes = [authentication[0].private_key] + ignore_changes = [authentication[0].private_key, path["use_versioned_api"]] } } `, cName, cDescription, cCategory, sName, sDescription, sCategory,