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

terraform for OCI #234

Merged
merged 3 commits into from
Oct 5, 2024
Merged

terraform for OCI #234

merged 3 commits into from
Oct 5, 2024

Conversation

mikarinneoracle
Copy link
Contributor

@mikarinneoracle mikarinneoracle commented Sep 5, 2024

Hi, extended this extension to work with Oracle Cloud Infrastructure (OCI).
Please review and test. I've tested this using Azure runner/agent on OCI Oracle Linux and Windows VMs.

For the OCI config please create a local oci cli config first and then upload the public generated auth token to the user profile in OCI and then copy the values to the Azure Devops OCI service connection (i.e. backend connection) config including the generated private auth token.

Optional:
To use a remote Terraform statefile in OCI object storage create an object storage buckect for the OCI user to store the state file and then create a PAR for it (preauthenticated request) and configure the PAR to the extension and then select 'yes' to generate the Terraform remote state file config. Otherwise choose 'no'.

Example PAR:
https://objectstorage.eu-amsterdam-1.oraclecloud.com/p/MqM0Iu1E6DXSYVjS...epuSMWY8o/n/tenancy_namespace/b/tf-state/o/terraform.tfstate

@mikarinneoracle
Copy link
Contributor Author

@mikarinneoracle please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@mikarinneoracle
Copy link
Contributor Author

How do I agree to the policy @microsoft-github-policy-service agree ?

@mikarinneoracle
Copy link
Contributor Author

mikarinneoracle commented Sep 7, 2024

@jaredfholgate Can you please help/have a look ? :)

I know Azure DevOps users have been requesting this to make it work with OCI. Thanks!

Copy link
Collaborator

@mericstam mericstam left a comment

Choose a reason for hiding this comment

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

LGTM

@mericstam mericstam merged commit 8f3f68a into microsoft:main Oct 5, 2024
2 checks passed
@mericstam mericstam mentioned this pull request Oct 10, 2024
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.

2 participants