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

Add support for Oracle Cloud Infrastructure (OCI) DNS #860

Merged
merged 1 commit into from
Aug 9, 2021
Merged

Add support for Oracle Cloud Infrastructure (OCI) DNS #860

merged 1 commit into from
Aug 9, 2021

Conversation

Djelibeybi
Copy link
Contributor

@Djelibeybi Djelibeybi commented Jun 28, 2021

The Oracle Cloud Infrastructure (OCI) provider can create, list, update and
delete records in any public DNS zone hosted in a tenancy located in any
region within the OCI commercial (OC1) realm.

No authentication details are required if the OCI CLI installed and the DEFAULT
profile configured in the ~/.oci/config file has the appropriate permission for
the target DNS zone.

Use the --auth-* command-line parameters or the
LEXICON_OCI_AUTH_* environment variables to
override the default file location and profile name.

Set the --auth-type parameter to instance_principal to use instance principal
authentication when running Lexicon on an Oracle Cloud Infrastructure compute
instance. This method requires permission to be granted via IAM policy to a
dynamic group that includes the compute instance.

See https://docs.oracle.com/en-us/iaas/Content/DNS/Concepts/dnszonemanagement.htm
for in-depth documentation on managing DNS via the OCI console, SDK or API.

Signed-off-by: Avi Miller avi.miller@oracle.com

@Djelibeybi
Copy link
Contributor Author

Djelibeybi commented Jun 28, 2021

I'm working through the test failures and will update the PR once resolved.

Tests are now working so I have squashed my commits accordingly.

The Oracle Cloud Infrastructure (OCI) provider can create, list, update and
delete records in any public DNS zone hosted in a tenancy located in any
region within the OCI commercial (OC1) realm.

No authentication details are required if the OCI CLI installed and the DEFAULT
profile configured in the ~/.oci/config file has the appropriate permission for
the target DNS zone.

Use the --auth-file and --auth-profile command-line parameters or the
LEXICON_OCI_AUTH_FILE and LEXICON_OCI_AUTH_PROFILE environment variables to
override the default file location and profile name.

Set the --auth-type parameter to 'instance_principal' to use instance principal
authentication when running Lexicon on an Oracle Cloud Infrastructure compute
instance. This method requires permission to be granted via IAM policy to a
dynamic group that includes the compute instance.

See <https://docs.oracle.com/en-us/iaas/Content/DNS/Concepts/dnszonemanagement.htm>
for in-depth documentation on managing DNS via the OCI console, SDK or API.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
Copy link
Collaborator

@adferrand adferrand left a comment

Choose a reason for hiding this comment

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

This is excellent, and I have no comment to add. Great job, and thanks a lot !

@adferrand adferrand merged commit a19a3a1 into AnalogJ:master Aug 9, 2021
@Djelibeybi
Copy link
Contributor Author

Thanks! I was just about to ask if there was anything I still needed to do. :)

@Djelibeybi Djelibeybi deleted the oci_provider branch August 9, 2021 22:36
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