equinix / pulumi-equinix Goto Github PK
View Code? Open in Web Editor NEWAn Equinix Pulumi resource package, providing multi-language access to Equinix
Home Page: https://deploy.equinix.com/labs/pulumi/
License: Apache License 2.0
An Equinix Pulumi resource package, providing multi-language access to Equinix
Home Page: https://deploy.equinix.com/labs/pulumi/
License: Apache License 2.0
The plugin installation information on this page,
https://www.pulumi.com/registry/packages/equinix/installation-configuration/#provider-binary
does not include the --server
parameter.
The server parameter is needed when manually installing the Equinix plugin since it is not hosted by Pulumi and so throws a 403 error when installed as documented.
Instead, the docs should reflect the need to specify the server as in:
pulumi plugin install resource equinix v0.2.1 --server github://api.github.com/equinix
equinix_fabric_cloud_router
has a wrong projects
block instead of project
. This must be fixed in upstream terraform provider by adding MaxItems: 1
for argument project
in the equinix_fabric_cloud_router
schema
When running @ocobleseqx's fantastic K8s provider code, I see the following DEBUG output. I believe it originates from the TF provider. I've asked our engineering team on how to suppress it. (I've seen other Pulumi providers that have the same issue.)
Diagnostics:
pulumi:pulumi:Stack (equinix-ts-metal-k8s-cluster-dev):
2023/06/20 12:25:30 [DEBUG] POST https://api.equinix.com/metal/v1/projects
2023/06/20 12:25:35 [DEBUG] POST https://api.equinix.com/metal/v1/projects/b82a4681-0e13-4bdc-b81a-84614a0b6485/bgp-configs
2023/06/20 12:25:35 [DEBUG] GET https://api.equinix.com/metal/v1/projects/b82a4681-0e13-4bdc-b81a-84614a0b6485
2023/06/20 12:25:35 [DEBUG] GET https://api.equinix.com/metal/v1/projects/b82a4681-0e13-4bdc-b81a-84614a0b6485/bgp-config
2023/06/20 12:25:39 [DEBUG] POST https://api.equinix.com/metal/v1/projects/b82a4681-0e13-4bdc-b81a-84614a0b6485/ips
2023/06/20 12:25:40 [DEBUG] POST https://api.equinix.com/metal/v1/projects/b82a4681-0e13-4bdc-b81a-84614a0b6485/api-keys
2023/06/20 12:25:40 [DEBUG] GET https://api.equinix.com/metal/v1/ips/7afbe1c3-a11a-47fa-a8e6-1e92210937e7
2023/06/20 12:25:40 [DEBUG] GET https://api.equinix.com/metal/v1/projects/b82a4681-0e13-4bdc-b81a-84614a0b6485/api-keys?include=project
2023/06/20 12:25:40 [DEBUG] POST https://api.equinix.com/metal/v1/projects/b82a4681-0e13-4bdc-b81a-84614a0b6485/ssh-keys
2023/06/20 12:25:40 [DEBUG] GET https://api.equinix.com/metal/v1/ips/7afbe1c3-a11a-47fa-a8e6-1e92210937e7?include=facility%2Cmetro%2Cproject%2Cvrf&types=public_ipv4%2Cglobal_ipv4%2Cprivate_ipv4%2Cpublic_ipv6%2Cvrf
2023/06/20 12:25:40 [DEBUG] GET https://api.equinix.com/metal/v1/ssh-keys/dccefd46-8afe-4ba2-be66-415e22a2e040
2023/06/20 12:25:45 [DEBUG] POST https://api.equinix.com/metal/v1/projects/b82a4681-0e13-4bdc-b81a-84614a0b6485/devices
2023/06/20 12:25:56 [DEBUG] GET https://api.equinix.com/metal/v1/devices/00c782ba-d5d6-4184-8e3b-4278bc2cb33c?include=project%2Cfacility
It seems to be an issue with the tfgen tool pulumi/pulumi-terraform-bridge#1497
The project currently provides no evidence of whether or not a PR is valid or follows best-practices. Go code may not be formatted correctly, for example. Moreso, it may not even compile (as was the case with #14)
What can we copy from the previous module: https://github.com/pulumi/pulumi-equinix-metal/tree/master/.github/workflows
Are there new approaches to generating or running tests?
https://github.com/pulumi/ci-mgmt
While full E2E tests would be nice to have eventually, basic assurance that the build stack is satisfied need to be added sooner.
we werent able to merge this into the registry
because of a build failure
more deets in
pulumi/registry#2409
pls reach out if i can help in anyway, thank you!
Related to pulumi/registry#2413
In terraform, fields that have a nested schema are defined with type Set/List, but they just have exactly 1 nested element, so for example the equinix_fabric_connection.redundancy is a single field with a nested schema with the property priority. It can be defined this way:
resource "equinix_fabric_connection" "example" {
...
redundancy {priority= "PRIMARY"}
...
}
However, in Pulumi, if not specified in the provider definition in resources.go with the property MaxItemsOne
, they are added in the schema with a key in plural and it expects an array in the configuration.
resources:
example:
type: equinix:fabric:Connection
properties:
redundancies:
- priority: PRIMARY
Adding the MaxItemsOne
it will be:
resources:
example:
type: equinix:fabric:Connection
properties:
redundancy:
priority: PRIMARY
All items with nested attributes must be updated
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.devcontainer/Dockerfile
.github/workflows/community-moderation.yml
actions/checkout v4
dorny/paths-filter v2
dorny/paths-filter v2
thollander/actions-comment-pull-request v2
.github/workflows/lint.yml
actions/checkout v4
actions/setup-go v4
golangci/golangci-lint-action v3
8398a7/action-slack v3
.github/workflows/release.yml
actions/checkout v4
actions/setup-go v2
jaxxstorm/action-install-gh-release v1.10.0
actions/upload-artifact v2
goreleaser/goreleaser-action v2
actions/checkout v4
actions/setup-go v2
jaxxstorm/action-install-gh-release v1.10.0
pulumi/action-install-pulumi-cli v2.0.0
actions/setup-node v1
actions/setup-dotnet v1
actions/setup-python v1
actions/setup-java v3
gradle/gradle-build-action v2
actions/download-artifact v3
actions/upload-artifact v2
JS-DevTools/npm-publish v1
gradle/gradle-build-action 9bca466e2722baf9e77b4f929bbe0af18848791f
.github/workflows/run-acceptance-tests.yml
actions/checkout v4
actions/checkout v4
actions/setup-go v4
jaxxstorm/action-install-gh-release v1.10.0
pulumi/action-install-pulumi-cli v2
actions/setup-node v2
actions/setup-dotnet v3
actions/setup-python v2
actions/setup-java v3
gradle/gradle-build-action v2
actions/download-artifact v3
actions/upload-artifact v2
8398a7/action-slack v3
peter-evans/create-or-update-comment v1
actions/checkout v4
actions/checkout v4
actions/setup-go v4
jaxxstorm/action-install-gh-release v1.10.0
pulumi/action-install-pulumi-cli v2
jaxxstorm/action-install-gh-release v1.10.0
thollander/actions-comment-pull-request v2
actions/upload-artifact v2
8398a7/action-slack v3
actions/checkout v4
actions/checkout v4
actions/setup-go v4
jaxxstorm/action-install-gh-release v1.10.0
pulumi/action-install-pulumi-cli v2
actions/setup-node v2
actions/setup-dotnet v3
actions/setup-python v2
actions/setup-java v3
gradle/gradle-build-action v2
actions/download-artifact v3
actions/download-artifact v3
GoTestTools/gotestfmt-action v2
8398a7/action-slack v3
.github/workflows/upgrade-bridge.yml
pulumi/pulumi-upgrade-provider-action v0.0.10
pulumi/pulumi-upgrade-provider-action v0.0.10
.github/workflows/upgrade-provider.yml
pulumi/pulumi-upgrade-provider-action v0.0.10
provider/go.mod
go 1.21
github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637@85980079f637
github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e@e6d96b3b8f7e
github.com/equinix/terraform-provider-equinix v1.20.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.65.0
github.com/pulumi/pulumi/pkg/v3 v3.94.2
github.com/pulumi/pulumi/sdk/v3 v3.94.2
sdk/dotnet/go.mod
go 1.17
sdk/go.mod
go 1.21
github.com/blang/semver v3.5.1+incompatible
github.com/pulumi/pulumi/sdk/v3 v3.94.2
sdk/java/go.mod
go 1.17
sdk/nodejs/go.mod
go 1.17
sdk/python/go.mod
go 1.17
sdk/java/settings.gradle
sdk/java/build.gradle
io.github.gradle-nexus.publish-plugin 1.1.0
com.google.code.findbugs:jsr305 3.0.2
com.google.code.gson:gson 2.8.9
com.pulumi:pulumi 0.9.8
sdk/nodejs/package.json
@pulumi/pulumi ^3.0.0
@types/mime ^2.0.0
@types/node ^10.0.0
typescript ^4.3.5
sdk/dotnet/Pulumi.Equinix.csproj
Microsoft.SourceLink.GitHub 1.0.0
sdk/python/setup.py
parver >=0.2.1
pulumi >=3.0.0,<4.0.0
semver >=2.8.1
hi folks, can you take a look at this commit and make sure the updates in there for the index and install and config pages are made and merged before yalls next release? thank you!!
Hey ๐๐ป,
I am trying to use this new library to spin up my metal infra but when I try to do a go get I get the below error.
go: github.com/equinix/[email protected]: parsing go.mod:
module declares its path as: fake_java_module
but was required as: github.com/equinix/pulumi-equinix
I tried the go get using the example in the README but didn't work go get github.com/equinix/pulumi-equinix/sdk/go/...
.
Any help would be much appreciated ๐๐ป
Hi,
Just trying to do a go get for this package and I run into the below issue.
go get -u github.com/equinix/pulumi-equinix/sdk/go/...
go: module github.com/equinix/pulumi-equinix@upgrade found (v0.5.1), but does not contain packages matching github.com/equinix/pulumi-equinix/sdk/go/...
I'm not sure how to get around this issue and any help you could provide would be great thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.