-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade terraform-provider-fastly to v4.3.0
- Loading branch information
Showing
65 changed files
with
6,014 additions
and
4,340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 00673c35cf1c68df9cb24621d7d47e60a3d8fe47 Mon Sep 17 00:00:00 2001 | ||
From: aq17 <[email protected]> | ||
Date: Thu, 20 Apr 2023 15:17:05 -0700 | ||
Subject: [PATCH] Avoid panic in base_fastly_service | ||
|
||
--- | ||
fastly/base_fastly_service.go | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/fastly/base_fastly_service.go b/fastly/base_fastly_service.go | ||
index c0c4c6f6..300676db 100644 | ||
--- a/fastly/base_fastly_service.go | ||
+++ b/fastly/base_fastly_service.go | ||
@@ -165,7 +165,11 @@ func validateUniqueNames(block string) func(_ context.Context, rd *schema.Resour | ||
return func(_ context.Context, rd *schema.ResourceDiff, _ any) error { | ||
names := make(map[string]int) | ||
|
||
+ // Avoid panic in rd.GetRawConfig() | ||
c := rd.GetRawConfig() | ||
+ if c.IsNull() { | ||
+ return nil | ||
+ } | ||
m := c.AsValueMap() | ||
s, ok := m[block] | ||
if ok { | ||
-- | ||
2.39.1 | ||
|
918 changes: 918 additions & 0 deletions
918
provider/cmd/pulumi-resource-fastly/bridge-metadata.json
Large diffs are not rendered by default.
Oops, something went wrong.
5,128 changes: 871 additions & 4,257 deletions
5,128
provider/cmd/pulumi-resource-fastly/schema.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.