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

convert Terrajet to Upjet #18

Merged
merged 13 commits into from
Mar 5, 2023
Merged

convert Terrajet to Upjet #18

merged 13 commits into from
Mar 5, 2023

Conversation

displague
Copy link
Collaborator

Apply the migration steps described at https://github.com/upbound/upjet/blob/main/docs/migrating-from-terrajet-to-upjet.md

Fixes #17

Description of your changes

Fixes #

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

@displague
Copy link
Collaborator Author

displague commented Feb 28, 2023

check-diff CI is blocked on crossplane/upjet#155

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_ecx_l2_connection.md: failed to find the prelude of the document using the xpath expressions: //text()[contains(., "description") and contains(., "page_title")]

displague added 13 commits March 5, 2023 15:52
Signed-off-by: Marques Johansson <[email protected]>
Signed-off-by: Marques Johansson <[email protected]>
@@ -35,18 +37,22 @@ type L2ConnectionAccepterObservation struct {

type L2ConnectionAccepterParameters struct {

// and secret_key resource arguments
Copy link
Collaborator Author

@displague displague Mar 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line of generated text appears to be coming from the resource docs overview rather than from the attributes block.

https://github.com/equinix/terraform-provider-equinix/blob/bbdfbb828fc45ae3ae46ca1318f35bd43e64c61a/docs/resources/equinix_ecx_l2_connection_accepter.md?plain=1#L34

@@ -273,7 +273,7 @@ spec:
id:
type: string
uuid:
description: SSH user unique identifier
description: SSH user unique identifier. SSH user unique identifier
Copy link
Collaborator Author

@displague displague Mar 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many of the descriptions are now duplicated. Reporting this upstream to upjet.

crossplane/upjet#155 (comment)

Created #24 to revisit this later.

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.

Adopt Upjet
1 participant