Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: generate examples failing bgp_session #198

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Conversation

ocobles
Copy link
Contributor

@ocobles ocobles commented Sep 16, 2024

generate examples was failing since some explicitly excluded examples had been renamed in terraform

"metal_bgp_session/example_1.tf" --> "equinix_metal_bgp_session/example_1.tf"
"metal_connection/*" --> "equinix_metal_connection/*"

I have also removed some manually created equinix_metal_connection examples, in order to use the ones available in Terraform.

  • examples/metal/connection/example_metal_billed
  • examples/metal/connection/example_fabric_billed

However, some of them need to be fixed first in terraform equinix/terraform-provider-equinix#777, those still specified in the EXCLUDE_TF_EXAMPLES list

"equinix_metal_connection/shared_no_token_metal_to_fabric.tf"
"equinix_metal_connection/shared_token_fabric_port_to_metal.tf"
"equinix_metal_connection/shared_token_metal_to_csp.tf"

This will fix the issue in "https://github.com/equinix/pulumi-equinix/actions/runs/10692829858". Adding also ">&2" in the echo commands to ensure that log messages are sent to standard error output and we can trace them in the gh action

Signed-off-by: Oscar Cobles <oscar.cobles@eu.equinix.com>
@ocobles ocobles assigned ocobles and ctreatma and unassigned ocobles Sep 16, 2024
@ocobles
Copy link
Contributor Author

ocobles commented Sep 16, 2024

Note: we will need to close issue #195 after merging this PR to let it create a new one

@ocobles
Copy link
Contributor Author

ocobles commented Sep 17, 2024

hold on until #199 is merged

Copy link

Does the PR have any schema changes?

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@ocobles ocobles merged commit 80c0de1 into main Sep 17, 2024
15 checks passed
@ocobles ocobles deleted the fix-generate-examples branch September 17, 2024 16:51
ocobles added a commit that referenced this pull request Sep 18, 2024
The upstream version was accidentally updated in #198
https://github.com/equinix/pulumi-equinix/pull/198/files
without applying the changes with a `make tfgen` & `make build_sdks`
Forcing this update to apply the changes
Copy link

This PR is included in version 0.18.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants