Skip to content

Conversation

@Uddipaan-Hazarika
Copy link
Contributor

Context:

Dependabot changes and version bump for latest update

Problem:

There were 3 open PR directly to main that are addressed here.

Solution:

bumped the version according to the latest dependabot change and provider version.

Testing:

After updating the version, ran a provision job for postgresql.
TF:
`resource "delphix_vdb" "test_postgres_tf" {
auto_select_repository = true
source_data_id = "10-APPDATA_CONTAINER-1"
name = "test_postgres_tf3"

appdata_source_params = jsonencode({
mountLocation = "/mnt/GAT"
postgresPort = 5434
configSettingsStg = [{ propertyName: "timezone", value:"GMT", commentProperty:false}]
})

appdata_config_params = jsonencode({
name = "Postgres-5434 - /mnt/GAT/data2"
})

config_params = jsonencode({
processes = 151
})

make_current_account_owner = false
}`

Output:
`Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:

  • create

Terraform will perform the following actions:

delphix_vdb.test_postgres_tf will be created

  • resource "delphix_vdb" "test_postgres_tf" {
    • appdata_config_params = jsonencode(
      {
      + name = "Postgres-5434 - /mnt/GAT/data2"
      }
      )

    • appdata_source_params = jsonencode(
      {
      + configSettingsStg = [
      + {
      + commentProperty = false
      + propertyName = "timezone"
      + value = "GMT"
      },
      ]
      + mountLocation = "/mnt/GAT"
      + postgresPort = 5434
      }
      )

    • auto_select_repository = true

    • config_params = jsonencode(
      {
      + processes = 151
      }
      )

    • creation_date = (known after apply)

    • database_type = (known after apply)

    • database_version = (known after apply)

    • engine_id = (known after apply)

    • environment_id = (known after apply)

    • fqdn = (known after apply)

    • group_name = (known after apply)

    • id = (known after apply)

    • ip_address = (known after apply)

    • make_current_account_owner = false

    • name = "test_postgres_tf3"

    • parent_id = (known after apply)

    • provision_type = "snapshot"

    • source_data_id = "10-APPDATA_CONTAINER-1"

    • tags {

      • key = "string"
      • value = "string"
        }
    • tags {

      • key = "string1"
      • value = "string1"
        }
        }

Plan: 1 to add, 0 to change, 0 to destroy.
delphix_vdb.test_postgres_tf: Creating...
delphix_vdb.test_postgres_tf: Still creating... [10s elapsed]
delphix_vdb.test_postgres_tf: Still creating... [20s elapsed]
delphix_vdb.test_postgres_tf: Still creating... [30s elapsed]
delphix_vdb.test_postgres_tf: Still creating... [40s elapsed]
delphix_vdb.test_postgres_tf: Creation complete after 44s [id=10-APPDATA_CONTAINER-3]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.`

@nick-mathison
Copy link
Contributor

other than the version bump. I'm not sure about the implications here. I will bow out.

@Uddipaan-Hazarika Uddipaan-Hazarika merged commit b9e3ac9 into delphix-integrations:develop May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants