Giter Site home page Giter Site logo

equinix / pulumi-equinix Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 3.0 31.29 MB

An Equinix Pulumi resource package, providing multi-language access to Equinix

Home Page: https://deploy.equinix.com/labs/pulumi/

License: Apache License 2.0

Dockerfile 0.03% Makefile 0.13% Go 0.72% C# 17.70% TypeScript 9.03% Python 26.65% Java 45.68% Shell 0.07%

pulumi-equinix's People

Contributors

ctreatma avatar dependabot[bot] avatar displague avatar ocobles avatar renovate[bot] avatar susanev avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ctreatma susanev

pulumi-equinix's Issues

Installation and Configuration page needs to reflect specifying server

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

Debug output

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

Add CI tests

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.

all fields of type set/list with exactly 1 element must have the MaxItemsOne property

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

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency com.pulumi:pulumi to v0.9.9
  • fix(deps): update module github.com/equinix/terraform-provider-equinix to v1.24.0
  • fix(deps): update module github.com/pulumi/pulumi/sdk/v3 to v3.101.1
  • chore(deps): update actions/download-artifact action to v4
  • chore(deps): update actions/setup-dotnet action to v4
  • chore(deps): update actions/setup-go action to v5
  • chore(deps): update actions/setup-java action to v4
  • chore(deps): update actions/setup-python action to v5
  • chore(deps): update actions/upload-artifact action to v4
  • chore(deps): update goreleaser/goreleaser-action action to v5
  • chore(deps): update js-devtools/npm-publish action to v3
  • chore(deps): update peter-evans/create-or-update-comment action to v3
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

dockerfile
.devcontainer/Dockerfile
github-actions
.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
gomod
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
gradle
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
npm
sdk/nodejs/package.json
  • @pulumi/pulumi ^3.0.0
  • @types/mime ^2.0.0
  • @types/node ^10.0.0
  • typescript ^4.3.5
nuget
sdk/dotnet/Pulumi.Equinix.csproj
  • Microsoft.SourceLink.GitHub 1.0.0
pip_setup
sdk/python/setup.py
  • parver >=0.2.1
  • pulumi >=3.0.0,<4.0.0
  • semver >=2.8.1

  • Check this box to trigger a request for Renovate to run again on this repository

Go get: module declares its path as: fake_java_module

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 ๐Ÿ™๐Ÿป

Does not contain packages matching github.com/equinix/pulumi-equinix/sdk/go/...

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.