Skip to content

Commit

Permalink
fix: generate examples failing bgp_session (#198)
Browse files Browse the repository at this point in the history
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](https://github.com/equinix/pulumi-equinix/compare/fix-generate-examples?expand=1#diff-0371a6843acadceb847895dd7de8ae7e51e24f5bb121e9591fb2798cbb7a25b9L5)
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
  • Loading branch information
ocobles authored Sep 17, 2024
2 parents 9c9a22f + 79db972 commit 80c0de1
Show file tree
Hide file tree
Showing 44 changed files with 63 additions and 1,726 deletions.
26 changes: 0 additions & 26 deletions examples/metal/connection/example_fabric_billed/Pulumi.yaml

This file was deleted.

353 changes: 0 additions & 353 deletions examples/metal/connection/example_fabric_billed/csharp/.gitignore

This file was deleted.

Loading

0 comments on commit 80c0de1

Please sign in to comment.