Skip to content

Commit 245c896

Browse files
Migrate GA version of compute firewall policy (#13184) (#9544)
[upstream:94029cc11a1a92a9b6b0ed58fb843f8aff897b11] Signed-off-by: Modular Magician <[email protected]>
1 parent af10f57 commit 245c896

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.changelog/13184.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/services/compute/resource_compute_firewall_policy_generated_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func TestAccComputeFirewallPolicy_firewallPolicyExample(t *testing.T) {
4141

4242
acctest.VcrTest(t, resource.TestCase{
4343
PreCheck: func() { acctest.AccTestPreCheck(t) },
44-
ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t),
44+
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
4545
CheckDestroy: testAccCheckComputeFirewallPolicyDestroyProducer(t),
4646
Steps: []resource.TestStep{
4747
{
@@ -59,8 +59,6 @@ func TestAccComputeFirewallPolicy_firewallPolicyExample(t *testing.T) {
5959
func testAccComputeFirewallPolicy_firewallPolicyExample(context map[string]interface{}) string {
6060
return acctest.Nprintf(`
6161
resource "google_compute_firewall_policy" "default" {
62-
provider = google-beta
63-
6462
parent = "organizations/%{org_id}"
6563
short_name = "tf-test-my-policy%{random_suffix}"
6664
description = "Example Resource"

website/docs/r/compute_firewall_policy.html.markdown

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ This resource should be generally be used with `google_compute_firewall_policy_a
2727

2828
For more information see the [official documentation](https://cloud.google.com/vpc/docs/firewall-policies)
2929

30-
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
31-
See [Provider Versions](https://terraform.io/docs/providers/google/guides/provider_versions.html) for more details on beta resources.
3230

3331
To get more information about FirewallPolicy, see:
3432

@@ -39,8 +37,6 @@ To get more information about FirewallPolicy, see:
3937

4038
```hcl
4139
resource "google_compute_firewall_policy" "default" {
42-
provider = google-beta
43-
4440
parent = "organizations/123456789"
4541
short_name = "my-policy"
4642
description = "Example Resource"

0 commit comments

Comments
 (0)