Skip to content

Commit fdf0d90

Browse files
Fix api gateway tests (#4380) (#2854)
Signed-off-by: Modular Magician <[email protected]>
1 parent 6a98f8a commit fdf0d90

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.changelog/4380.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/resource_api_gateway_gateway.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ func resourceApiGatewayGateway() *schema.Resource {
4343

4444
Schema: map[string]*schema.Schema{
4545
"api_config": {
46-
Type: schema.TypeString,
47-
Required: true,
48-
ForceNew: true,
49-
Description: `Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}`,
46+
Type: schema.TypeString,
47+
Required: true,
48+
ForceNew: true,
49+
DiffSuppressFunc: compareResourceNames,
50+
Description: `Resource name of the API Config for this Gateway. Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig}`,
5051
},
5152
"gateway_id": {
5253
Type: schema.TypeString,

0 commit comments

Comments
 (0)