-
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.
fix: update makefile to execute build_schema twice (#164)
Changes: - duplicate build_schema target (build and build_schema_post_examples) to be able to execute it twice (it didn't work even adding build_schema in PHONY). I was debugging leaving some traces to check that now it is executed twice, as expected. - Check that the pulumi cli installed version is the same as the one defined in provider/go.mod - Add `export PATH := $(BIN_DIR):$(PATH)`. The pulumi converter command uses several plugins, on the one hand the source converter (yaml and terraform plugins in our case) and on the other hand the sdk of the language to which it is being converted, pulumi-language-python / pulumi-language-go / etc. Although the correct Pulumi CLI binary was being used with `.pulumi/bin/pulumi convert ...` it was taking the language binary from $PATH, so in my case `/opt/homebrew/bin/` which corresponded to the Pulumi v3.122.0 version instead of the new installed v3.128.0 _Originally added to #161 and opening a new PR as per #161 (comment) suggestion_
- Loading branch information
Showing
180 changed files
with
3,493 additions
and
3,494 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
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 |
---|---|---|
|
@@ -38,28 +38,28 @@ import pulumi_equinix as equinix | |
new_cloud_router = equinix.fabric.CloudRouter("newCloudRouter", | ||
name="Router-SV", | ||
type="XF_ROUTER", | ||
notifications=[equinix.fabric.CloudRouterNotificationArgs( | ||
type="ALL", | ||
emails=[ | ||
notifications=[{ | ||
"type": "ALL", | ||
"emails": [ | ||
"[email protected]", | ||
"[email protected]", | ||
], | ||
)], | ||
order=equinix.fabric.CloudRouterOrderArgs( | ||
purchase_order_number="1-323292", | ||
), | ||
location=equinix.fabric.CloudRouterLocationArgs( | ||
metro_code="SV", | ||
), | ||
package=equinix.fabric.CloudRouterPackageArgs( | ||
code="STANDARD", | ||
), | ||
project=equinix.fabric.CloudRouterProjectArgs( | ||
project_id="776847000642406", | ||
), | ||
account=equinix.fabric.CloudRouterAccountArgs( | ||
account_number=203612, | ||
)) | ||
}], | ||
order={ | ||
"purchase_order_number": "1-323292", | ||
}, | ||
location={ | ||
"metro_code": "SV", | ||
}, | ||
package={ | ||
"code": "STANDARD", | ||
}, | ||
project={ | ||
"project_id": "776847000642406", | ||
}, | ||
account={ | ||
"account_number": 203612, | ||
}) | ||
``` | ||
```go | ||
package main | ||
|
Oops, something went wrong.