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

Update TF Provider to 1.33.0 #41

Closed
displague opened this issue Mar 27, 2024 · 1 comment · Fixed by #42
Closed

Update TF Provider to 1.33.0 #41

displague opened this issue Mar 27, 2024 · 1 comment · Fixed by #42
Labels
enhancement New feature or request

Comments

@displague
Copy link
Collaborator

displague commented Mar 27, 2024

What problem are you facing?

Equinix TF Provider is on v1.33.0 with support for additional resources, datasources, and several attribute changes.

How could Equinix Provider help solve your problem?

Update to support 1.33.0

$ VERSION=1.33.0
$ sed -E -i "s/(TERRAFORM_PROVIDER_VERSION :=) [0-9.]+/\1 $VERSION/" Makefile
$ git commit --signoff -m "chore: update terraform-provider-equinix version to $VERSION" Makefile
$ make generate
$ git add ...
$ git commit --signoff -m "chore: 'make generate' against terraform-provider-equinix:$VERSION"
@displague displague added the enhancement New feature or request label Mar 27, 2024
@displague
Copy link
Collaborator Author

scraper: error: Failed to scrape Terraform provider metadata: cannot scrape Terraform registry: failed to scrape resource metadata from path: ../.work/equinix/equinix/docs/resources/equinix_fabric_routing_protocol.md: failed to convert example manifest to JSON: failed to format as JSON: marshal json: json: error calling MarshalJSON for type json.SimpleJSONValue: value is not known

This Markdown file contains HCL blocks with invalid documentation hints: property = <property value goes here>.. The unquoted <> hint is invalid. This file must be ignored.

diff --git a/Makefile b/Makefile
index fb74e5e..08502b1 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ GOLANGCILINT_VERSION ?= 1.50.0
 export TERRAFORM_VERSION := 1.3.1
 
 export TERRAFORM_PROVIDER_SOURCE := equinix/equinix
-export TERRAFORM_PROVIDER_VERSION := 1.20.0
+export TERRAFORM_PROVIDER_VERSION := 1.33.0
 export TERRAFORM_PROVIDER_DOWNLOAD_NAME := terraform-provider-equinix
 export TERRAFORM_PROVIDER_DOWNLOAD_URL_PREFIX := https://releases.hashicorp.com/${TERRAFORM_PROVIDER_DOWNLOAD_NAME}/${TERRAFORM_PROVIDER_VERSION}
 export TERRAFORM_NATIVE_PROVIDER_BINARY := ${TERRAFORM_PROVIDER_DOWNLOAD_NAME}_v${TERRAFORM_PROVIDER_VERSION}
@@ -121,7 +121,8 @@ pull-docs:
        fi
        @git -C "$(WORK_DIR)/$(TERRAFORM_PROVIDER_SOURCE)" sparse-checkout set "$(TERRAFORM_DOCS_PATH)"
        @echo "Removing examples known to cause parser errors for examples-generated"
-       @rm -f "$(WORK_DIR)/$(TERRAFORM_PROVIDER_SOURCE)/$(TERRAFORM_DOCS_PATH)/equinix_metal_port_vlan_attachment.md"
+       @rm -f "$(WORK_DIR)/$(TERRAFORM_PROVIDER_SOURCE)/$(TERRAFORM_DOCS_PATH)/equinix_metal_port_vlan_attachment.md" \
+               "$(WORK_DIR)/$(TERRAFORM_PROVIDER_SOURCE)/$(TERRAFORM_DOCS_PATH)/equinix_fabric_routing_protocol.md"
 
  generate.init: $(TERRAFORM_PROVIDER_SCHEMA) pull-docs
 

@displague displague mentioned this issue Mar 29, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant