Skip to content

azurerm_oracle_autonomous_database - Add support for allowed_ips #29412

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

Merged

Conversation

mihretkidane-OCI
Copy link
Contributor

@mihretkidane-OCI mihretkidane-OCI commented Apr 24, 2025

Community Note

  • Please vote on this PR by adding a 👍 reaction to the original PR to help the community and maintainers prioritize for review
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for PR followers and do not help prioritize for review

Description

  • modified
    autonomouse_database_resource : added whitelisted_ips to allow users to create autonomous database with public access

  • Newly added
    autonomous_database_generate_wallet_resource.go
    autonomous_database_generate_wallet_resource_test.go

Added a new resource and test case to allow customers to generate wallet for autonomous database.

PR Checklist

  • I have followed the guidelines in our Contributing Documentation.
  • I have checked to ensure there aren't other open Pull Requests for the same update/change.
  • I have checked if my changes close any open issues. If so please include appropriate closing keywords below.
  • I have updated/added Documentation as required written in a helpful and kind way to assist users that may be unfamiliar with the resource / data source.
  • I have used a meaningful PR title to help maintainers and other users understand this change and help prevent duplicate work.
    For example: “resource_name_here - description of change e.g. adding property new_property_name_here

Changes to existing Resource / Data Source

  • I have added an explanation of what my changes do and why I'd like you to include them (This may be covered by linking to an issue above, but may benefit from additional explanation).
  • I have written new tests for my resource or datasource changes & updated any relevant documentation.
  • I have successfully run tests with my changes locally. If not, please provide details on testing challenges that prevented you running the tests.
  • (For changes that include a state migration only). I have manually tested the migration path between relevant versions of the provider.

Testing

  • My submission includes Test coverage as described in the Contribution Guide and the tests pass. (if this is not possible for any reason, please include details of why you did or could not add test coverage)

Screenshot 2025-05-21 at 10 25 18 AM
Screenshot 2025-05-21 at 11 57 38 AM

Change Log

Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.

  • azurerm_resource - support for the thing1 property [GH-00000]

This is a (please select all that apply):

  • Bug Fix
  • New Feature (ie adding a service, resource, or data source)
  • Enhancement
  • Breaking Change

Related Issue(s)

Fixes #29672

Note

If this PR changes meaningfully during the course of review please update the title and description as required.

@mihretkidane-OCI mihretkidane-OCI requested a review from a team as a code owner April 24, 2025 16:48
@mihretkidane-OCI mihretkidane-OCI changed the title Support adbs public access add oracle database public adbs creation support Apr 24, 2025
@mihretkidane-OCI mihretkidane-OCI changed the title add oracle database public adbs creation support add oracle database public adbs creation support And add configuration to generate autonomous database wallet May 21, 2025
# Conflicts:
#	internal/services/oracle/oracle_autonomous_database_resource.go
#	internal/services/oracle/oracle_autonomous_database_resource_test.go
#	internal/services/oracle/oracle_db_system_shapes_data_source.go
#	internal/services/oracle/oracle_gi_versions_data_source.go
#	internal/services/oracle/oracle_gi_versions_data_source_test.go
Copy link
Member

@jackofallops jackofallops left a comment

Choose a reason for hiding this comment

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

Thanks @mihretkidane-OCI - Looking much better now the API portion is broken out. There's a handful of items to take a look at if you could, then I think we should be good to go. Once the tests are updated, are you able to post local tests results as a comment since we're currently unable to run them?

@mihretkidane-OCI
Copy link
Contributor Author

mihretkidane-OCI commented Jul 4, 2025

Test results:
Screenshot 2025-07-04 at 12 19 29 AM

Screenshot 2025-07-03 at 1 51 56 PM

Screenshot 2025-07-04 at 1 57 29 AM

Copy link
Member

@jackofallops jackofallops left a comment

Choose a reason for hiding this comment

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

HI @mihretkidane-OCI - Thanks for the changes, looks like just a couple more items and I think this will be good to go.

@mihretkidane-OCI
Copy link
Contributor Author

@jackofallops please help review

Copy link
Member

@jackofallops jackofallops left a comment

Choose a reason for hiding this comment

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

Thanks for the changes @mihretkidane-OCI - with the test results provided this LGTM 👍

@jackofallops jackofallops dismissed stale reviews from mbfrahry and sreallymatt July 7, 2025 08:19

outdated

@jackofallops jackofallops merged commit 805daac into hashicorp:main Jul 7, 2025
34 checks passed
@github-actions github-actions bot added this to the v4.36.0 milestone Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for oracle autonomous database with public access creation
5 participants