-
Notifications
You must be signed in to change notification settings - Fork 3
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-dnsimple to v0.17.0 (#455)
* WIP Initial mapping to PF * Apply ID type overrides Depends on pulumi/pulumi-terraform-bridge#2155. * make build_sdks * Add explanation in resources.go for the ID insertion * Remove the overlay in favor of extra types
- Loading branch information
Showing
81 changed files
with
1,968 additions
and
3,987 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
[submodule "upstream"] | ||
path = upstream | ||
url = https://github.com/dnsimple/terraform-provider-dnsimple.git | ||
ignore = dirty |
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
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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
import pulumi | ||
import pulumi_dnsimple as dnsimple | ||
|
||
foobar = dnsimple.Record("foobar", | ||
domain="stack72.dev", | ||
name="test-py", | ||
ttl=3600, | ||
type="A", | ||
value="192.168.0.11") | ||
record = dnsimple.ZoneRecord( | ||
"record", | ||
zone_name="stack72.dev", | ||
name="test-py", | ||
ttl=3600, | ||
type="A", | ||
value="192.168.0.11", | ||
) | ||
|
||
pulumi.export("record_urn", record.urn) |
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
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,23 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Ian Wahbe <[email protected]> | ||
Date: Tue, 16 Jul 2024 13:22:33 -0700 | ||
Subject: [PATCH] Expose the provider object | ||
|
||
|
||
diff --git a/shim/shim.go b/shim/shim.go | ||
new file mode 100644 | ||
index 0000000..d37ab92 | ||
--- /dev/null | ||
+++ b/shim/shim.go | ||
@@ -0,0 +1,11 @@ | ||
+package shim | ||
+ | ||
+import ( | ||
+ "github.com/hashicorp/terraform-plugin-framework/provider" | ||
+ | ||
+ framework "github.com/terraform-providers/terraform-provider-dnsimple/internal/framework/provider" | ||
+) | ||
+ | ||
+func Provider(version string) provider.Provider { | ||
+ return framework.New(version)() | ||
+} |
This file was deleted.
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
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
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
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.