File tree Expand file tree Collapse file tree 1 file changed +10
-16
lines changed
mmv1/third_party/terraform/services/compute Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -295,18 +295,15 @@ func TestAccComputeSecurityPolicy_withAdvancedOptionsConfig(t *testing.T) {
295295 ImportState: true,
296296 ImportStateVerify: true,
297297 },
298- /*
299- // Uncomment when GA API becomes available
300- // Add request_body_inspection_size value
301- {
302- Config: testAccComputeSecurityPolicy_withAdvancedOptionsConfig_update4(spName),
303- },
304- {
305- ResourceName: "google_compute_security_policy.policy",
306- ImportState: true,
307- ImportStateVerify: true,
308- },
309- */
298+ // Add request_body_inspection_size value
299+ {
300+ Config: testAccComputeSecurityPolicy_withAdvancedOptionsConfig_update4(spName),
301+ },
302+ {
303+ ResourceName: " google_compute_security_policy.policy" ,
304+ ImportState: true,
305+ ImportStateVerify: true,
306+ },
310307 {
311308 Config: testAccComputeSecurityPolicy_basic(spName, " CLOUD_ARMOR" ),
312309 },
@@ -1518,10 +1515,8 @@ resource "google_compute_security_policy" "policy" {
15181515` , spName)
15191516}
15201517
1521- /*
1522- // Uncomment when GA API becomes available
15231518func testAccComputeSecurityPolicy_withAdvancedOptionsConfig_update4(spName string) string {
1524- return fmt.Sprintf(`
1519+ return fmt.Sprintf (`
15251520resource "google_compute_security_policy" "policy" {
15261521 name = "%s "
15271522 advanced_options_config {
@@ -1539,7 +1534,6 @@ resource "google_compute_security_policy" "policy" {
15391534}
15401535` , spName)
15411536}
1542- */
15431537
15441538func testAccComputeSecurityPolicy_withoutAdaptiveProtection(spName string) string {
15451539 return fmt.Sprintf (`
You can’t perform that action at this time.
0 commit comments