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

Adds an init script that uses the local version of the provider #168

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

alessandroargentieri
Copy link
Member

Addition of a script that sets the local version of the civo terraform provider by taking care of:

  • create/override the ~/.terraformrc file
  • create the provider.tf in the destination folder with the local version of the provider
  • building the binary of the provider from the current branch and moving it into the destination folder
  • performing a terraform init and a terraform plan

The script takes care of checking if golang, civo CLI and terraform are installed.

Copy link
Member

@alejandrojnm alejandrojnm left a comment

Choose a reason for hiding this comment

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

Can you add to the readme, something like this is for local dev

@alessandroargentieri
Copy link
Member Author

@alejandrojnm Do you mean that the README.md changes you find in this PR are not exhaustive?

@alejandrojnm
Copy link
Member

Yes is ok, but you put it in the make build section, and this change is for local development, add a new section in the readme for a local dev.

Signed-off-by: alessandroargentieri <alessandro@civo.com>
@alessandroargentieri alessandroargentieri merged commit bde1e27 into master Mar 14, 2023
@alejandrojnm alejandrojnm deleted the feature/local-init-script branch April 4, 2023 08:12
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.

None yet

2 participants