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

pkg/terraform/exec/plugins: vendor in azure terraform provider #1664

Merged

Conversation

serbrech
Copy link
Contributor

Vendoring the latest terraform provider in the plugin package

related PR: #1663

@openshift-ci-robot openshift-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Apr 24, 2019
@serbrech
Copy link
Contributor Author

/retest

- vendor the azurerm terraform provider under the plugins
package
- add terraform/helper/acctest as a required package to
the exec package to satisfy the azurerm provider.
- overrides github.com/hashicorp/go-azure-helpers to not get
the latest 0.4.0 as it contains has breaking changes
The random provider is needed for azure to generate a storage
account name that is unique across azure.
storage account names also have extra naming restrictions.
is used to keep this in the package and avoid passing an extra
parameter as a variable.

The local provider is necessary to upload the ignition file to
azure storage because the azure provider does not support
binary upload. we need to create a file and pass it to the blob
upload resource instead.

tf blob storage resource : https://www.terraform.io/docs/providers/azurerm/r/storage_blob.html
storage naming limits : https://docs.microsoft.com/en-us/azure/architecture/best-practices/naming-conventions#storage
@serbrech
Copy link
Contributor Author

/retest

1 similar comment
@abhinavdahiya
Copy link
Contributor

/retest

@abhinavdahiya
Copy link
Contributor

/lgtm
/retest

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 26, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, serbrech

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 26, 2019
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 61c2e16 into openshift:master Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants