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

[AV-71279] Support autoexpansion for Azure cluster(s) #143

Merged
merged 5 commits into from
Feb 8, 2024
Merged

[AV-71279] Support autoexpansion for Azure cluster(s) #143

merged 5 commits into from
Feb 8, 2024

Conversation

l0n3star
Copy link
Contributor

Jira

Description

Please include a summary of the fix/feature/change, including any relevant motivation and context.

Type of Change

  • Bug fix (non-breaking change which fixes an issue). Please, add the "bug" label to the PR.
  • New feature (non-breaking change which adds functionality). Please, add the "enhancement" label to the PR.
  • Breaking change (fix or feature that would cause existing functionality to not work as expected). Please, add the "breaking change" label to the PR.
  • This change requires a documentation update
  • Documentation fix/enhancement

Manual Testing Approach

How was this change tested and do you have evidence? (REQUIRED: Select at least 1)

  • Manually tested
  • Unit tested
  • Acceptance tested
  • Unable to test / will not test (Please provide comments in section below)

Testing

acceptance testing

make testacc

TF_ACC=1 go test -timeout=300m -v ./... -run TestAccOrganizationDataSource -run TestAccProjectResource -run TestAccCreateProjectWithReqFields -run TestAccCreateProjectOptFields -run TestAccValidProjectUpdate -run TestAccInvalidProjectResource -run TestAccDeleteProjectBeforeDestroy -run TestAccClusterResourceAzure -run TestAccClusterResourceGCP -run TestAccClusterResourceWithOnlyReqFieldAWS
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella	[no test files]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/api/appservice	[no test files]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/api/backup	[no test files]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/api/backup_schedule	[no test files]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/api/bucket	[no test files]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/api/cluster	[no test files]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/api/organization	[no test files]
testing: warning: no tests to run
PASS
ok  	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/api	(cached) [no tests to run]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/errors	[no test files]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/provider	[no test files]
testing: warning: no tests to run
PASS
ok  	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/datasources	0.201s [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/resources	0.257s [no tests to run]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/testing	[no test files]
?   	github.com/couchbasecloud/terraform-provider-couchbase-capella/version	[no test files]
=== RUN   TestAccClusterResourceWithOnlyReqFieldAWS
=== PAUSE TestAccClusterResourceWithOnlyReqFieldAWS
=== CONT  TestAccClusterResourceWithOnlyReqFieldAWS
raw state map[%:16 audit.%:5 audit.created_at:2024-01-19 06:08:15.297788777 +0000 UTC audit.created_by:gH90bWxTnQCXOupNbbAp0ghfpdmcApw0 audit.modified_at:2024-01-19 06:10:12.4927354 +0000 UTC audit.modified_by:gH90bWxTnQCXOupNbbAp0ghfpdmcApw0 audit.version:5 availability.%:1 availability.type:multi cloud_provider.%:3 cloud_provider.cidr:10.208.250.0/23 cloud_provider.region:us-east-1 cloud_provider.type:aws configuration_type:multiNode couchbase_server.%:1 couchbase_server.version:7.2 current_state:healthy description: etag:Version: 5 id:8c1938dd-06d6-4b8b-aa50-786b532493a0 name:acc_cluster_mxckojabzm organization_id:299e6638-492a-4acc-921d-1818a8da0603 project_id:88d307c3-28f6-48e6-8a63-5ded4591f3da service_groups.#:1 service_groups.0.%:3 service_groups.0.node.%:2 service_groups.0.node.compute.%:2 service_groups.0.node.compute.cpu:4 service_groups.0.node.compute.ram:16 service_groups.0.node.disk.%:4 service_groups.0.node.disk.iops:3000 service_groups.0.node.disk.storage:50 service_groups.0.node.disk.type:io2 service_groups.0.num_of_nodes:3 service_groups.0.services.#:3 service_groups.0.services.0:data service_groups.0.services.1:index service_groups.0.services.2:query support.%:2 support.plan:developer pro support.timezone:PT]raw state map[%:16 audit.%:5 audit.created_at:2024-01-19 06:08:15.297788777 +0000 UTC audit.created_by:gH90bWxTnQCXOupNbbAp0ghfpdmcApw0 audit.modified_at:2024-01-19 06:10:12.4927354 +0000 UTC audit.modified_by:gH90bWxTnQCXOupNbbAp0ghfpdmcApw0 audit.version:5 availability.%:1 availability.type:multi cloud_provider.%:3 cloud_provider.cidr:10.208.250.0/23 cloud_provider.region:us-east-1 cloud_provider.type:aws configuration_type:multiNode couchbase_server.%:1 couchbase_server.version:7.2 current_state:healthy description: etag:Version: 5 id:8c1938dd-06d6-4b8b-aa50-786b532493a0 name:acc_cluster_mxckojabzm organization_id:299e6638-492a-4acc-921d-1818a8da0603 project_id:88d307c3-28f6-48e6-8a63-5ded4591f3da service_groups.#:1 service_groups.0.%:3 service_groups.0.node.%:2 service_groups.0.node.compute.%:2 service_groups.0.node.compute.cpu:4 service_groups.0.node.compute.ram:16 service_groups.0.node.disk.%:4 service_groups.0.node.disk.iops:3000 service_groups.0.node.disk.storage:50 service_groups.0.node.disk.type:io2 service_groups.0.num_of_nodes:3 service_groups.0.services.#:3 service_groups.0.services.0:data service_groups.0.services.1:index service_groups.0.services.2:query support.%:2 support.plan:developer pro support.timezone:PT]raw state map[%:16 audit.%:5 audit.created_at:2024-01-19 06:08:15.297788777 +0000 UTC audit.created_by:gH90bWxTnQCXOupNbbAp0ghfpdmcApw0 audit.modified_at:2024-01-19 06:16:02.299725008 +0000 UTC audit.modified_by:gH90bWxTnQCXOupNbbAp0ghfpdmcApw0 audit.version:11 availability.%:1 availability.type:multi cloud_provider.%:3 cloud_provider.cidr:10.208.250.0/23 cloud_provider.region:us-east-1 cloud_provider.type:aws configuration_type:multiNode couchbase_server.%:1 couchbase_server.version:7.2 current_state:healthy description:Cluster Updated. etag:Version: 11 id:8c1938dd-06d6-4b8b-aa50-786b532493a0 if_match:5 name:Terraform Acceptance Test Cluster Update organization_id:299e6638-492a-4acc-921d-1818a8da0603 project_id:88d307c3-28f6-48e6-8a63-5ded4591f3da service_groups.#:2 service_groups.0.%:3 service_groups.0.node.%:2 service_groups.0.node.compute.%:2 service_groups.0.node.compute.cpu:4 service_groups.0.node.compute.ram:16 service_groups.0.node.disk.%:4 service_groups.0.node.disk.iops:3001 service_groups.0.node.disk.storage:51 service_groups.0.node.disk.type:gp3 service_groups.0.num_of_nodes:3 service_groups.0.services.#:1 service_groups.0.services.0:data service_groups.1.%:3 service_groups.1.node.%:2 service_groups.1.node.compute.%:2 service_groups.1.node.compute.cpu:8 service_groups.1.node.compute.ram:32 service_groups.1.node.disk.%:4 service_groups.1.node.disk.iops:3001 service_groups.1.node.disk.storage:51 service_groups.1.node.disk.type:gp3 service_groups.1.num_of_nodes:2 service_groups.1.services.#:2 service_groups.1.services.0:index service_groups.1.services.1:query support.%:2 support.plan:enterprise support.timezone:IST]raw state map[%:16 audit.%:5 audit.created_at:2024-01-19 06:08:15.297788777 +0000 UTC audit.created_by:gH90bWxTnQCXOupNbbAp0ghfpdmcApw0 audit.modified_at:2024-01-19 06:16:09.374476336 +0000 UTC audit.modified_by:gH90bWxTnQCXOupNbbAp0ghfpdmcApw0 audit.version:16 availability.%:1 availability.type:multi cloud_provider.%:3 cloud_provider.cidr:10.208.250.0/23 cloud_provider.region:us-east-1 cloud_provider.type:aws configuration_type:multiNode couchbase_server.%:1 couchbase_server.version:7.2 current_state:healthy description:Cluster Updated. etag:Version: 16 id:8c1938dd-06d6-4b8b-aa50-786b532493a0 name:Terraform Acceptance Test Cluster Update 2 organization_id:299e6638-492a-4acc-921d-1818a8da0603 project_id:88d307c3-28f6-48e6-8a63-5ded4591f3da service_groups.#:2 service_groups.0.%:3 service_groups.0.node.%:2 service_groups.0.node.compute.%:2 service_groups.0.node.compute.cpu:4 service_groups.0.node.compute.ram:16 service_groups.0.node.disk.%:4 service_groups.0.node.disk.iops:3001 service_groups.0.node.disk.storage:51 service_groups.0.node.disk.type:gp3 service_groups.0.num_of_nodes:3 service_groups.0.services.#:1 service_groups.0.services.0:data service_groups.1.%:3 service_groups.1.node.%:2 service_groups.1.node.compute.%:2 service_groups.1.node.compute.cpu:8 service_groups.1.node.compute.ram:32 service_groups.1.node.disk.%:4 service_groups.1.node.disk.iops:3001 service_groups.1.node.disk.storage:51 service_groups.1.node.disk.type:gp3 service_groups.1.num_of_nodes:2 service_groups.1.services.#:2 service_groups.1.services.0:index service_groups.1.services.1:query support.%:2 support.plan:enterprise support.timezone:IST]--- PASS: TestAccClusterResourceWithOnlyReqFieldAWS (824.76s)
PASS
ok  	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/resources/acceptance_tests	825.030s
testing: warning: no tests to run
PASS
ok  	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/resources/acceptance_tests/security_acceptance_tests	0.270s [no tests to run]
testing: warning: no tests to run
PASS
ok  	github.com/couchbasecloud/terraform-provider-couchbase-capella/internal/schema	(cached) [no tests to run]

manual test to create azure cluster with autoexpansion enabled

terraform apply -var-file terraform.template.tfvars
╷
│ Warning: Provider development overrides are in effect
│
│ The following provider development overrides are set in the CLI configuration:
│  - couchbasecloud/couchbase-capella in /Users/hiteshwalia/GolandProjects/terraform-provider-couchbase-capella/bin
│
│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases.

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:

  # couchbase-capella_cluster.new_cluster will be created
  + resource "couchbase-capella_cluster" "new_cluster" {
      + app_service_id     = (known after apply)
      + audit              = (known after apply)
      + availability       = {
          + type = "single"
        }
      + cloud_provider     = {
          + cidr   = "10.0.6.0/23"
          + region = "eastus"
          + type   = "azure"
        }
      + configuration_type = (known after apply)
      + couchbase_server   = (known after apply)
      + current_state      = (known after apply)
      + description        = "My first test cluster for multiple services."
      + etag               = (known after apply)
      + id                 = (known after apply)
      + name               = "New Terraform Azure Cluster 6"
      + organization_id    = "7dc36559-a544-4ce6-a132-5da412f350e9"
      + project_id         = "693f1cb1-982b-4c52-8119-3f5dc6828489"
      + service_groups     = [
          + {
              + node         = {
                  + compute = {
                      + cpu = 4
                      + ram = 16
                    }
                  + disk    = {
                      + autoexpansion = true
                      + iops          = (known after apply)
                      + storage       = (known after apply)
                      + type          = "P6"
                    }
                }
              + num_of_nodes = 3
              + services     = [
                  + "data",
                ]
            },
        ]
      + support            = {
          + plan     = "basic"
          + timezone = "PT"
        }
    }

Plan: 1 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + cluster_id  = (known after apply)
  + new_cluster = {
      + app_service_id     = (known after apply)
      + audit              = (known after apply)
      + availability       = {
          + type = "single"
        }
      + cloud_provider     = {
          + cidr   = "10.0.6.0/23"
          + region = "eastus"
          + type   = "azure"
        }
      + configuration_type = (known after apply)
      + couchbase_server   = (known after apply)
      + current_state      = (known after apply)
      + description        = "My first test cluster for multiple services."
      + etag               = (known after apply)
      + id                 = (known after apply)
      + if_match           = null
      + name               = "New Terraform Azure Cluster 6"
      + organization_id    = "7dc36559-a544-4ce6-a132-5da412f350e9"
      + project_id         = "693f1cb1-982b-4c52-8119-3f5dc6828489"
      + service_groups     = [
          + {
              + node         = {
                  + compute = {
                      + cpu = 4
                      + ram = 16
                    }
                  + disk    = {
                      + autoexpansion = true
                      + iops          = (known after apply)
                      + storage       = (known after apply)
                      + type          = "P6"
                    }
                }
              + num_of_nodes = 3
              + services     = [
                  + "data",
                ]
            },
        ]
      + support            = {
          + plan     = "basic"
          + timezone = "PT"
        }
    }

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

couchbase-capella_cluster.new_cluster: Creating...
couchbase-capella_cluster.new_cluster: Still creating... [10s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [20s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [30s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [40s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [50s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [1m0s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [1m10s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [1m20s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [1m30s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [1m40s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [1m50s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [2m0s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [2m10s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [2m20s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [2m30s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [2m40s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [2m50s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [3m0s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [3m10s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [3m20s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [3m30s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [3m40s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [3m50s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [4m0s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [4m10s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [4m20s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [4m30s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [4m40s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [4m50s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [5m0s elapsed]
couchbase-capella_cluster.new_cluster: Still creating... [5m10s elapsed]
couchbase-capella_cluster.new_cluster: Creation complete after 5m11s [id=10d5c496-502f-430e-99fb-25fa8bd7285a]

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

Outputs:

cluster_id = "10d5c496-502f-430e-99fb-25fa8bd7285a"
new_cluster = {
  "app_service_id" = tostring(null)
  "audit" = {
    "created_at" = "2024-01-18 20:48:53.703590843 +0000 UTC"
    "created_by" = "GGZjZ6bOhAiuFJoJ0M1NoFHwm6RHZvkv"
    "modified_at" = "2024-01-18 20:54:04.672833562 +0000 UTC"
    "modified_by" = "GGZjZ6bOhAiuFJoJ0M1NoFHwm6RHZvkv"
    "version" = 3
  }
  "availability" = {
    "type" = "single"
  }
  "cloud_provider" = {
    "cidr" = "10.0.6.0/23"
    "region" = "eastus"
    "type" = "azure"
  }
  "configuration_type" = "multiNode"
  "couchbase_server" = {
    "version" = "7.2"
  }
  "current_state" = "healthy"
  "description" = "My first test cluster for multiple services."
  "etag" = "Version: 3"
  "id" = "10d5c496-502f-430e-99fb-25fa8bd7285a"
  "if_match" = tostring(null)
  "name" = "New Terraform Azure Cluster 6"
  "organization_id" = "7dc36559-a544-4ce6-a132-5da412f350e9"
  "project_id" = "693f1cb1-982b-4c52-8119-3f5dc6828489"
  "service_groups" = toset([
    {
      "node" = {
        "compute" = {
          "cpu" = 4
          "ram" = 16
        }
        "disk" = {
          "autoexpansion" = true
          "iops" = 240
          "storage" = 64
          "type" = "P6"
        }
      }
      "num_of_nodes" = 3
      "services" = toset([
        "data",
      ])
    },
  ])
  "support" = {
    "plan" = "basic"
    "timezone" = "PT"
  }
}

Required Checklist:

  • I have checked that this change does not generate any credentials and that they are NOT accidentally logged anywhere.
  • I have added tests that prove my fix is effective or that my feature works per HashiCorp requirements
  • I have added any necessary documentation (if required)
  • I have run make fmt and formatted my code

Further comments

@l0n3star l0n3star requested a review from a team as a code owner January 19, 2024 21:00
@Talina06 Talina06 merged commit 4d50bb6 into couchbasecloud:main Feb 8, 2024
3 of 4 checks passed
Talina06 added a commit that referenced this pull request Mar 19, 2024
Signed-off-by: Talina Shrotriya <[email protected]>

Private Preview Release (#43)

This merge commit adds support for the following resources to the Terraform Provider 🎉

Organizations - Read/Import
Projects - CRUD/Import
Users - CRUD/Import
API Keys - CRUD/Import
Provisioned Clusters - CRUD/Import
Database Credentials - CRUD/Import
Buckets - CRUD/Import

Scope of Work Completed 📅 - Oct 4 2023
Co-Authors ❤️ - @aniket-Kumar-c @matty271828 @nidhi07kumar @Talina06

---------

Co-authored-by: aniket-Kumar-c <[email protected]>
Co-authored-by: matty271828 <[email protected]>
Co-authored-by: nidhi07kumar <[email protected]>
Co-authored-by: Talina06 <[email protected]>

Change miv terraform version in readme to 1.5.2 (#53)

[AV-65208] Update examples folder (#55)

* Update examples folder

* Update examples/certificate/README.md

Co-authored-by: nidhi07kumar <[email protected]>

* Update examples/database_credential/terraform.template.tfvars

Co-authored-by: nidhi07kumar <[email protected]>

* [AV-65208] Add godocs for better understanding of access and usage (#56)

* Add godocs for better understanding of access and usage

* Generate docs

* [AV-65208] Datasources for some resources (#57)

* Add datasources, rename datasources

* Generate docs

* Move some values in examples folder to variables

* update wording in readme

---------

Co-authored-by: nidhi07kumar <[email protected]>

fix added for various resources creation in main branch

removed if match in allowlist and some more fix

updated deleted user

fixed examples

[AV-64572] Code Health - Extract Schema State Validation (#50)

This PR extracts state validation which was duplicated between resource states into functions. Additionally, the validation changes will mean that terraform import strings will now be able to provide resourceIds in any order.

* Extract resource state validation

* Add null strings to validate test cases

* Use validation functions for bucket resource

* Map IDs to specific resource IDs

* Use id attribute for top level resource IDs

* Add unit tests for all schema validates

* Fix ID key/values in cluster validate state

* Remove unused ifmatch from allowlist

* Remove use of depracated cluster data

* Chnage clusterId key to organizationId

* Split import strings on first equals sign

This is needed as bucket IDs are suffixed with ==

* Add comment to explain splitting on first equals

* Change error to ErrInvalidImport

* Use defined errors in validations

Better access example for creating db user (#61)

Also adds a changelog

[AV-65899] PP Bugs - Move project roles into same array (#64)

AV-65056: acceptance test poc for project (#54)

Co-authored-by: Talina Shrotriya <[email protected]>

[AV-65773] Allowlists Datasource - Pagination (#65)

[AV-65452] CREATE bucket with optional fields (#68)

[AV-65771] List APIs - Projects pagination (#72)

[AV-65679] List APIs -  Users, ApiKeys & Clusters Pagination (#73)

AV-66047 Add PR template (#67)

Merging so we can reap benefits from it soon, thanks riju!

[AV-65775] List APIs - Database Credentials & Buckets Pagination (#74)

[AV-66360] PP Bugs - Make resource object optional (#76)

[AV-63471] User Resource - Update user using patch request (#62)

Bump golang.org/x/net from 0.13.0 to 0.17.0 (#51)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump google.golang.org/grpc from 1.57.0 to 1.57.1 (#66)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[AV-67060] PP Bugs - Pass in sort by parameter  (#83)

[AV-64820] App Services Terraform Provider Feature Branch (#84)

Co-authored-by: Matty Maclean <[email protected]>
Co-authored-by: Talina Shrotriya <[email protected]>
Co-authored-by: matty271828 <[email protected]>
Co-authored-by: Aniket Kumar <[email protected]>
Co-authored-by: aniket-Kumar-c <[email protected]>
Co-authored-by: Priya Rajagopal <[email protected]>

[AV-62009] Code Health - Pass in Success Codes to Client (#80)

[AV-67237] Code Health - Create Acceptance Test Directory (#87)

[AV-65776] App Services List Pagination (#91)

[AV-64825] Feature branch for on-demand backups, scheduled backups and restore (#92)

Co-authored-by: aniket-Kumar-c <[email protected]>
Co-authored-by: Aniket Kumar <[email protected]>

Backup schedule enhancement and readme updates (#94)

Co-authored-by: nidhi07kumar <[email protected]>
Co-authored-by: Nidhi Kumar <[email protected]>

[AV-66756] Code Health - Extract API error handling (#78)

[AV-67129] Code Health - Upgrade go to version 1.21 (#97)

cluster resources acceptance test added and bugs resolved (#77)

Signed-off-by: Aniket Kumar <[email protected]>
Co-authored-by: Talina Shrotriya <[email protected]>

[AV-67085] Bug Fixes - User creation fails on role creation (#102)

[AV-65757] adding organization data source acceptance tests (#96)

Co-authored-by: matty271828 <[email protected]>

AV-68277 Create LICENSE (#103)

[AV-65764] allowlist_acceptance_tests (#95)

[AV-68063] Create Backup & DB Creds should not required optional fields (#101)

[AV-67976] CREATE USER should not require optional fields (#99)

[AV-65762]Fix allowlist acceptance tests (#107)

[AV-65452] Bucket Update: Handle optional fields (#75)

[AV-67686] README for backup schedule  (#100)

[AV-65766] Acceptance Tests AppServices  (#98)

[AV 65760] additional project acceptance tests (#110)

[AV-68397] API Key & Allowlist creation does not need optional fields (#104)

[AV-66942] DB Creds | App Services | Backup Schedule Update Optional Fields (#106)

Added return where it is missing (#109)

Generate changelog, add a Makefile and Dependabot support (#105)

[AV-66663] Bug Fixes - Reject organizationOwner with populated resources (#114)

Co-authored-by: Talina Shrotriya <[email protected]>

require replace added for non editable fields (#116)

[AV-65601] DB Creds changes on UI not picked up in terraform db  (#112)

Co-authored-by: Talina Shrotriya <[email protected]>

hanging resource issue is fixed for cluster and added retry logic (#108)

[AV-67459] Save expiry time from plan always for allowlist (#117)

cluster-acceptance-test-fix (#118)

[AV-68914] Bug - Move type outside of generic function (#120)

[AV 65759] fix acceptance tests apikeys (#121)

[AV-65758] Acceptance Tests - User Resource (#93)

Added check for all resource whether the passed attribute is trimmed or not (#122)

[AV-65763] Acceptance Tests - Database Credentials (#89)

Co-authored-by: nishant-tripathy <[email protected]>

[AV-64396] Security tests for the capella terraform (#115)

[AV-68064] examples for list backups (#123)

[AV-69062] Update Examples (#124)

[AV-69062] Update examples (#125)

[Av 65766] accpetance test appservices (#119)

Co-authored-by: aniket-Kumar-c <[email protected]>
Co-authored-by: matty271828 <[email protected]>

[AV 65761] fix cluster accpetance tests (#126)

Co-authored-by: aniket-Kumar-c <[email protected]>
Co-authored-by: matty271828 <[email protected]>

AV-69070: configuration type is made optional (#127)

Docs draft - complete, with all feedback added, and ready to merge. (#111)

Co-authored-by: Priya Rajagopal <[email protected]>

[AV-69070] Update examples and default pagination limit (#128)

Co-authored-by: Talina Shrotriya <[email protected]>

Update Docs (#130)

Update Docs (#130)

Update index.md (#131)

Add github actions to release binaries

Bump github.com/google/uuid from 1.4.0 to 1.5.0 (#132)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[AV-69447] Updated Readme for IMPORT (#134)

Documentation format tweaks (#135)

Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#136)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[AV-69583] Added CONTRIBUTING.md (#137)

Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 (#139)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump github.com/hashicorp/terraform-plugin-go from 0.19.1 to 0.20.0 (#138)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump github.com/couchbase/tools-common/functional from 1.1.1 to 1.2.0 (#140)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[AV-70854] Fixed optional fields during cluster creation | Azure & GCP (#141)

Fix the cluster version as 7.1 is not supported (#144)

Fix jenkins failures cluster version (#146)

Bump github.com/hashicorp/terraform-plugin-framework from 1.4.2 to 1.5.0 (#142)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fix format issue for regex check (#147)

Bump github.com/google/uuid from 1.5.0 to 1.6.0 (#145)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[AV-71279] Support autoexpansion for Azure cluster resource (#143)

Bump github.com/hashicorp/terraform-plugin-go from 0.20.0 to 0.21.0 (#148)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

AV-72750 Reformat contributing.md (#150)

Adding Azure storage auto expansion accpetance tests (#149)

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#160)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

AV-70846 Import sample buckets (#156)

Update CODEOWNERS (#168)

Revert "AV-70846 Import sample buckets" (#169)

AV-74846 Updare codeowners to require both teams reviews (#170)

Bump github.com/hashicorp/terraform-plugin-framework from 1.5.0 to 1.6.1 (#161)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump google.golang.org/protobuf from 1.32.0 to 1.33.0

Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

add request and response structs

add schema

add datasource

add resources

set new datasource and resource in provider

fix schema format issue

refactor datasources

remove require replace from schema

refactor

fix slice updates

use schema object in set function

update doc string

add api response

add schema file

add datasource

add datasource to provider

add example

add example

add api request and response structs

add schema

add datasource

add datasource to provider

fix schema

add resource

fix validation

update struct tags and schema

add godocs

change variable name

update typename

add validation logic to create function

update Create docstring

fix error handling

change list to set

remove optional attribute

add warning

change to set in resources schema

formatting

fix lint errors

update example

formatting

fix import formatting

update typename

update godoc

change list to set

update example

fix import format

update typename

update godocs

change list to set

update error messages

refactor getAuditLogExport

refactor refreshAuditLogExport

remove requiresReplace

add example

format example

fix lint errors

update example

update example with setting disabled user

update example dir

example

Bump github.com/hashicorp/terraform-plugin-testing from 1.6.0 to 1.7.0 (#162)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Talina Shrotriya <[email protected]>

Bump github.com/hashicorp/terraform-plugin-go from 0.21.0 to 0.22.1 (#165)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

change schema

update example

change http status code due to AV-74746
@Talina06 Talina06 changed the title [AV-71279] Support autoexpansion for Azure cluster resource [AV-71279] Support autoexpansion for Azure cluster(s) Apr 2, 2024
@Talina06 Talina06 added the enhancement New feature or request label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants