ansible-collections / cloud.terraform

The collection automates the management and provisioning of infrastructure as code (IaC) using the Terraform CLI tool within Ansible playbooks and Execution Environment runtimes.
GNU General Public License v3.0
100 stars 36 forks source link

Add support for custom providers #146

Closed vvarga007 closed 4 months ago

vvarga007 commented 5 months ago
SUMMARY

Currently, only three major cloud provider resources are supported. (AWS, Azure, GCP). I intend to add a way for custom provider configuration.

ISSUE TYPE
COMPONENT NAME

terraform_state inventory plugin

ADDITIONAL INFORMATION

It would be great to use this plugin with other cloud providers or with on-prem cloud solutions that have an in-house-developed Terraform provider.

softwarefactory-project-zuul[bot] commented 5 months ago

Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/b20100209fa349e0bd5e38bc9892f484

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 5m 08s :heavy_check_mark: build-ansible-collection SUCCESS in 9m 45s

softwarefactory-project-zuul[bot] commented 5 months ago

Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/1371b7eaacdf4d1dbc90445031ae5903

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 5m 17s :heavy_check_mark: build-ansible-collection SUCCESS in 8m 10s

vvarga007 commented 5 months ago

@gravesm I fixed the formatting error. I am not 100% sure how I should generate the documentation if I have to.

abikouo commented 5 months ago

@vvarga007 thanks for contributing to this collection. I added some remark. You will also need to add a changelog file.

softwarefactory-project-zuul[bot] commented 4 months ago

Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/7e53d1488f694cc6860b812a48d84442

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 3m 36s :heavy_check_mark: build-ansible-collection SUCCESS in 6m 38s

vvarga007 commented 4 months ago

@gravesm @abikouo I added the requested changes. Hopefully, it is good enough this time.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.52%. Comparing base (8c52bf2) to head (c10bf19). Report is 21 commits behind head on main.

:exclamation: Current head c10bf19 differs from pull request most recent head b888478

Please upload reports for the commit b888478 to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #146 +/- ## ========================================== + Coverage 73.00% 79.52% +6.52% ========================================== Files 16 23 +7 Lines 1015 1441 +426 Branches 182 254 +72 ========================================== + Hits 741 1146 +405 - Misses 243 253 +10 - Partials 31 42 +11 ``` | [Flag](https://app.codecov.io/gh/ansible-collections/cloud.terraform/pull/146/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | Coverage Ξ” | | |---|---|---| | [sanity](https://app.codecov.io/gh/ansible-collections/cloud.terraform/pull/146/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | `?` | | | [units](https://app.codecov.io/gh/ansible-collections/cloud.terraform/pull/146/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections) | `79.52% <ΓΈ> (+6.91%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ansible-collections#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

softwarefactory-project-zuul[bot] commented 4 months ago

Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/c1548cadb67f48acba57529be9bc9187

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 4m 27s :heavy_check_mark: build-ansible-collection SUCCESS in 7m 01s

vvarga007 commented 4 months ago

@gravesm So close... Fixed that indentation error on the changelog YAML file. Some pre-commit hook would be great to make it easier to pass these GitHub workflows.

softwarefactory-project-zuul[bot] commented 4 months ago

Build succeeded. https://ansible.softwarefactory-project.io/zuul/buildset/561acce199e04ac29a7d9b6f8e144341

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 2m 47s :heavy_check_mark: build-ansible-collection SUCCESS in 6m 58s

softwarefactory-project-zuul[bot] commented 4 months ago

Build succeeded (gate pipeline). https://ansible.softwarefactory-project.io/zuul/buildset/b35355b03323453abdbfe2623f0b9b3a

:heavy_check_mark: ansible-galaxy-importer SUCCESS in 2m 51s :heavy_check_mark: build-ansible-collection SUCCESS in 6m 38s

patchback[bot] commented 4 months ago

Backport to stable-2: πŸ’š backport PR created

βœ… Backport PR branch: patchback/backports/stable-2/8a592e1a80033eb4ad6c6930231223fd50a74180/pr-146

Backported as https://github.com/ansible-collections/cloud.terraform/pull/154

πŸ€– @patchback I'm built with octomachinery and my source is open β€” https://github.com/sanitizers/patchback-github-app.

patchback[bot] commented 4 months ago

Backport to stable-3: πŸ’š backport PR created

βœ… Backport PR branch: patchback/backports/stable-3/8a592e1a80033eb4ad6c6930231223fd50a74180/pr-146

Backported as https://github.com/ansible-collections/cloud.terraform/pull/155

πŸ€– @patchback I'm built with octomachinery and my source is open β€” https://github.com/sanitizers/patchback-github-app.