issues
search
turbot
/
steampipe-plugin-aws
Use SQL to instantly query AWS resources across regions and accounts. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/aws
Apache License 2.0
191
stars
103
forks
source link
Add table aws_memorydb_cluster Closes #2261
#2268
Closed
ParthaI
closed
3 months ago
ParthaI
commented
3 months ago
Integration test logs
Logs
``` No env file present for the current environment: staging Falling back to .env config No env file present for the current environment: staging customEnv TURBOT_TEST_EXPECTED_TIMEOUT undefined SETUP: tests/aws_memorydb_cluster [] PRETEST: tests/aws_memorydb_cluster TEST: tests/aws_memorydb_cluster Running terraform random_password.example: Refreshing state... [id=none] data.aws_partition.current: Reading... data.aws_region.primary: Reading... data.aws_caller_identity.current: Reading... aws_vpc.named_test_resource: Refreshing state... [id=vpc-05fcde811db90ebaa] aws_memorydb_user.example: Refreshing state... [id=turbottest21314] data.aws_region.primary: Read complete after 0s [id=us-east-1] data.aws_partition.current: Read complete after 0s [id=aws] data.aws_caller_identity.current: Read complete after 0s [id=xxxxxxxxxxxx] data.null_data_source.resource: Reading... data.null_data_source.resource: Read complete after 0s [id=static] data.aws_region.alternate: Reading... data.aws_region.alternate: Read complete after 0s [id=us-east-2] aws_memorydb_acl.named_test_resource: Refreshing state... [id=turbottest21314] aws_subnet.named_test_resource_2: Refreshing state... [id=subnet-04d850f4ebbc54120] aws_subnet.named_test_resource: Refreshing state... [id=subnet-0aace770683c608ac] aws_memorydb_subnet_group.named_test_resource: Refreshing state... [id=my-subnet-group] aws_memorydb_cluster.named_test_resource: Refreshing state... [id=turbottest21314] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: -/+ destroy and then create replacement Terraform will perform the following actions: # aws_memorydb_acl.named_test_resource must be replaced -/+ resource "aws_memorydb_acl" "named_test_resource" { ~ arn = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:acl/turbottest21314" -> (known after apply) ~ id = "turbottest21314" -> (known after apply) ~ minimum_engine_version = "6.2" -> (known after apply) ~ name = "turbottest21314" -> "turbottest4978" # forces replacement + name_prefix = (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) ~ user_names = [ - "turbottest21314", + "turbottest4978", ] } # aws_memorydb_cluster.named_test_resource must be replaced -/+ resource "aws_memorydb_cluster" "named_test_resource" { ~ acl_name = "turbottest21314" -> "turbottest4978" ~ arn = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest21314" -> (known after apply) ~ cluster_endpoint = [ - { - address = "clustercfg.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] -> (known after apply) ~ engine_patch_version = "7.1.1" -> (known after apply) ~ engine_version = "7.1" -> (known after apply) ~ id = "turbottest21314" -> (known after apply) ~ maintenance_window = "mon:04:00-mon:05:00" -> (known after apply) ~ name = "turbottest21314" -> "turbottest4978" # forces replacement + name_prefix = (known after apply) ~ parameter_group_name = "default.memorydb-redis7" -> (known after apply) ~ port = 6379 -> (known after apply) - security_group_ids = [] -> null ~ shards = [ - { - name = "0001" - nodes = [ - { - availability_zone = "us-east-1b" - create_time = "2024-08-16T09:11:50Z" - endpoint = [ - { - address = "turbottest21314-0001-001.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] - name = "turbottest21314-0001-001" }, - { - availability_zone = "us-east-1c" - create_time = "2024-08-16T09:11:50Z" - endpoint = [ - { - address = "turbottest21314-0001-002.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] - name = "turbottest21314-0001-002" }, ] - num_nodes = 2 - slots = "0-8191" }, - { - name = "0002" - nodes = [ - { - availability_zone = "us-east-1b" - create_time = "2024-08-16T09:11:50Z" - endpoint = [ - { - address = "turbottest21314-0002-001.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] - name = "turbottest21314-0002-001" }, - { - availability_zone = "us-east-1c" - create_time = "2024-08-16T09:11:50Z" - endpoint = [ - { - address = "turbottest21314-0002-002.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] - name = "turbottest21314-0002-002" }, ] - num_nodes = 2 - slots = "8192-16383" }, ] -> (known after apply) ~ snapshot_window = "09:30-10:30" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) # (9 unchanged attributes hidden) } # aws_memorydb_user.example must be replaced -/+ resource "aws_memorydb_user" "example" { ~ arn = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:user/turbottest21314" -> (known after apply) ~ id = "turbottest21314" -> (known after apply) ~ minimum_engine_version = "6.2" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) ~ user_name = "turbottest21314" -> "turbottest4978" # forces replacement # (1 unchanged attribute hidden) ~ authentication_mode { ~ password_count = 1 -> (known after apply) # (2 unchanged attributes hidden) } } Plan: 3 to add, 0 to change, 3 to destroy. Changes to Outputs: ~ resource_aka = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest21314" -> (known after apply) ~ resource_name = "turbottest21314" -> "turbottest4978" aws_memorydb_cluster.named_test_resource: Destroying... [id=turbottest21314] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 6m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 6m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 6m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 6m30s elapsed] aws_memorydb_cluster.named_test_resource: Destruction complete after 6m30s aws_memorydb_acl.named_test_resource: Destroying... [id=turbottest21314] aws_memorydb_acl.named_test_resource: Still destroying... [id=turbottest21314, 10s elapsed] aws_memorydb_acl.named_test_resource: Destruction complete after 17s aws_memorydb_user.example: Destroying... [id=turbottest21314] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 10s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 20s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 30s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 40s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 50s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 1m0s elapsed] aws_memorydb_user.example: Destruction complete after 1m1s aws_memorydb_user.example: Creating... aws_memorydb_user.example: Creation complete after 2s [id=turbottest4978] aws_memorydb_acl.named_test_resource: Creating... aws_memorydb_acl.named_test_resource: Still creating... [10s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [20s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [30s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [40s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [50s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [1m0s elapsed] aws_memorydb_acl.named_test_resource: Creation complete after 1m1s [id=turbottest4978] aws_memorydb_cluster.named_test_resource: Creating... aws_memorydb_cluster.named_test_resource: Still creating... [10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m31s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m41s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m31s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m41s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m31s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m41s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m31s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m41s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20m31s elapsed] aws_memorydb_cluster.named_test_resource: Creation complete after 20m32s [id=turbottest4978] Warning: Deprecated with data.null_data_source.resource, on variables.tf line 44, in data "null_data_source" "resource": 44: data "null_data_source" "resource" { The null_data_source was historically used to construct intermediate values to re-use elsewhere in configuration, the same can now be achieved using locals or the terraform_data resource type in Terraform 1.4 and later. (and one more similar warning elsewhere) Apply complete! Resources: 3 added, 0 changed, 3 destroyed. Outputs: account_id = "xxxxxxxxxxxx" aws_region = "us-east-1" resource_aka = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978" resource_name = "turbottest4978" Running SQL query: test-get-query.sql Time: 28.7s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 0. Scans: 1) aws_memorydb_cluster.aws: Time: 18.6s. Fetched: 1. Hydrates: 0. Quals: name=turbottest4978. [ { "arn": "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978", "name": "turbottest4978" } ] ✔ PASSED Running SQL query: test-list-query.sql Time: 1.8s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 0. Scans: 1) aws_memorydb_cluster.aws: Time: 1.4s. Fetched: 1. Hydrates: 0. [ { "arn": "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978", "name": "turbottest4978" } ] ✔ PASSED Running SQL query: test-turbot-query.sql Time: 0.7s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 1. Scans: 1) aws_memorydb_cluster.aws: Time: 0.6s. Fetched: 1. Hydrates: 1. Quals: arn=arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978. [ { "account_id": "xxxxxxxxxxxx", "akas": [ "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978" ], "region": "us-east-1", "title": "turbottest4978" } ] ✔ PASSED POSTTEST: tests/aws_memorydb_cluster TEARDOWN: tests/aws_memorydb_cluster SUMMARY: 1/1 passed. ```
Example query results
Results
``` > select * from aws_memorydb_cluster +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> | name | arn | status | description | tls_enabled | acl_name | auto_minor_version_upgrade | availability_mode | data_tiering | engine_patch_versi> +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> | turbottest21314 | arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest21314 | available | Managed by Terraform | true | turbottest21314 | true | | false | 7.1.1 > +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> Time: 108ms. Rows returned: 1. Rows fetched: 1 (cached). Hydrate calls: 0. Scans: 1) aws_memorydb_cluster.aws: Time: 3ms. Fetched: 1 (cached). Hydrates: 0. > .cache off > .cache clear > select * from aws_memorydb_cluster where name = 'turbottest21314' +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> | name | arn | status | description | tls_enabled | acl_name | auto_minor_version_upgrade | availability_mode | data_tiering | engine_patch_versi> +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> | turbottest21314 | arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest21314 | available | Managed by Terraform | true | turbottest21314 | true | | false | 7.1.1 > +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> Time: 1.7s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 1. Scans: 1) aws_memorydb_cluster.aws: Time: 1.2s. Fetched: 1. Hydrates: 1. Quals: name=turbottest21314. > select * from aws_memorydb_cluster where name = 'turbottest21314a' +------+-----+--------+-------------+-------------+----------+----------------------------+-------------------+--------------+----------------------+----------------+------------+--------------------+-----------+------------------+----> | name | arn | status | description | tls_enabled | acl_name | auto_minor_version_upgrade | availability_mode | data_tiering | engine_patch_version | engine_version | kms_key_id | maintenance_window | node_type | number_of_shards | par> +------+-----+--------+-------------+-------------+----------+----------------------------+-------------------+--------------+----------------------+----------------+------------+--------------------+-----------+------------------+----> +------+-----+--------+-------------+-------------+----------+----------------------------+-------------------+--------------+----------------------+----------------+------------+--------------------+-----------+------------------+----> Time: 3.1s. Rows returned: 0. Rows fetched: 1. Hydrate calls: 1. Scans: 1) aws_memorydb_cluster.aws: Time: 487ms. Fetched: 1. Hydrates: 1. Quals: name=turbottest21314a. ```
Integration test logs
Logs
``` No env file present for the current environment: staging Falling back to .env config No env file present for the current environment: staging customEnv TURBOT_TEST_EXPECTED_TIMEOUT undefined SETUP: tests/aws_memorydb_cluster [] PRETEST: tests/aws_memorydb_cluster TEST: tests/aws_memorydb_cluster Running terraform random_password.example: Refreshing state... [id=none] data.aws_partition.current: Reading... data.aws_region.primary: Reading... data.aws_caller_identity.current: Reading... aws_vpc.named_test_resource: Refreshing state... [id=vpc-05fcde811db90ebaa] aws_memorydb_user.example: Refreshing state... [id=turbottest21314] data.aws_region.primary: Read complete after 0s [id=us-east-1] data.aws_partition.current: Read complete after 0s [id=aws] data.aws_caller_identity.current: Read complete after 0s [id=xxxxxxxxxxxx] data.null_data_source.resource: Reading... data.null_data_source.resource: Read complete after 0s [id=static] data.aws_region.alternate: Reading... data.aws_region.alternate: Read complete after 0s [id=us-east-2] aws_memorydb_acl.named_test_resource: Refreshing state... [id=turbottest21314] aws_subnet.named_test_resource_2: Refreshing state... [id=subnet-04d850f4ebbc54120] aws_subnet.named_test_resource: Refreshing state... [id=subnet-0aace770683c608ac] aws_memorydb_subnet_group.named_test_resource: Refreshing state... [id=my-subnet-group] aws_memorydb_cluster.named_test_resource: Refreshing state... [id=turbottest21314] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: -/+ destroy and then create replacement Terraform will perform the following actions: # aws_memorydb_acl.named_test_resource must be replaced -/+ resource "aws_memorydb_acl" "named_test_resource" { ~ arn = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:acl/turbottest21314" -> (known after apply) ~ id = "turbottest21314" -> (known after apply) ~ minimum_engine_version = "6.2" -> (known after apply) ~ name = "turbottest21314" -> "turbottest4978" # forces replacement + name_prefix = (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) ~ user_names = [ - "turbottest21314", + "turbottest4978", ] } # aws_memorydb_cluster.named_test_resource must be replaced -/+ resource "aws_memorydb_cluster" "named_test_resource" { ~ acl_name = "turbottest21314" -> "turbottest4978" ~ arn = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest21314" -> (known after apply) ~ cluster_endpoint = [ - { - address = "clustercfg.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] -> (known after apply) ~ engine_patch_version = "7.1.1" -> (known after apply) ~ engine_version = "7.1" -> (known after apply) ~ id = "turbottest21314" -> (known after apply) ~ maintenance_window = "mon:04:00-mon:05:00" -> (known after apply) ~ name = "turbottest21314" -> "turbottest4978" # forces replacement + name_prefix = (known after apply) ~ parameter_group_name = "default.memorydb-redis7" -> (known after apply) ~ port = 6379 -> (known after apply) - security_group_ids = [] -> null ~ shards = [ - { - name = "0001" - nodes = [ - { - availability_zone = "us-east-1b" - create_time = "2024-08-16T09:11:50Z" - endpoint = [ - { - address = "turbottest21314-0001-001.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] - name = "turbottest21314-0001-001" }, - { - availability_zone = "us-east-1c" - create_time = "2024-08-16T09:11:50Z" - endpoint = [ - { - address = "turbottest21314-0001-002.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] - name = "turbottest21314-0001-002" }, ] - num_nodes = 2 - slots = "0-8191" }, - { - name = "0002" - nodes = [ - { - availability_zone = "us-east-1b" - create_time = "2024-08-16T09:11:50Z" - endpoint = [ - { - address = "turbottest21314-0002-001.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] - name = "turbottest21314-0002-001" }, - { - availability_zone = "us-east-1c" - create_time = "2024-08-16T09:11:50Z" - endpoint = [ - { - address = "turbottest21314-0002-002.turbottest21314.1dmjsn.memorydb.us-east-1.amazonaws.com" - port = 6379 }, ] - name = "turbottest21314-0002-002" }, ] - num_nodes = 2 - slots = "8192-16383" }, ] -> (known after apply) ~ snapshot_window = "09:30-10:30" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) # (9 unchanged attributes hidden) } # aws_memorydb_user.example must be replaced -/+ resource "aws_memorydb_user" "example" { ~ arn = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:user/turbottest21314" -> (known after apply) ~ id = "turbottest21314" -> (known after apply) ~ minimum_engine_version = "6.2" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) ~ user_name = "turbottest21314" -> "turbottest4978" # forces replacement # (1 unchanged attribute hidden) ~ authentication_mode { ~ password_count = 1 -> (known after apply) # (2 unchanged attributes hidden) } } Plan: 3 to add, 0 to change, 3 to destroy. Changes to Outputs: ~ resource_aka = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest21314" -> (known after apply) ~ resource_name = "turbottest21314" -> "turbottest4978" aws_memorydb_cluster.named_test_resource: Destroying... [id=turbottest21314] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 1m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 2m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 3m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 4m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m30s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m40s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 5m50s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 6m0s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 6m10s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 6m20s elapsed] aws_memorydb_cluster.named_test_resource: Still destroying... [id=turbottest21314, 6m30s elapsed] aws_memorydb_cluster.named_test_resource: Destruction complete after 6m30s aws_memorydb_acl.named_test_resource: Destroying... [id=turbottest21314] aws_memorydb_acl.named_test_resource: Still destroying... [id=turbottest21314, 10s elapsed] aws_memorydb_acl.named_test_resource: Destruction complete after 17s aws_memorydb_user.example: Destroying... [id=turbottest21314] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 10s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 20s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 30s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 40s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 50s elapsed] aws_memorydb_user.example: Still destroying... [id=turbottest21314, 1m0s elapsed] aws_memorydb_user.example: Destruction complete after 1m1s aws_memorydb_user.example: Creating... aws_memorydb_user.example: Creation complete after 2s [id=turbottest4978] aws_memorydb_acl.named_test_resource: Creating... aws_memorydb_acl.named_test_resource: Still creating... [10s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [20s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [30s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [40s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [50s elapsed] aws_memorydb_acl.named_test_resource: Still creating... [1m0s elapsed] aws_memorydb_acl.named_test_resource: Creation complete after 1m1s [id=turbottest4978] aws_memorydb_cluster.named_test_resource: Creating... aws_memorydb_cluster.named_test_resource: Still creating... [10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [1m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [2m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [3m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [4m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [5m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [6m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [7m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [8m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [9m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [10m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [11m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [12m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [13m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [14m50s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m0s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m10s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m20s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m30s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m40s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [15m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m31s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m41s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [16m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m31s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m41s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [17m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m31s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m41s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [18m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m31s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m41s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [19m51s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20m1s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20m11s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20m21s elapsed] aws_memorydb_cluster.named_test_resource: Still creating... [20m31s elapsed] aws_memorydb_cluster.named_test_resource: Creation complete after 20m32s [id=turbottest4978] Warning: Deprecated with data.null_data_source.resource, on variables.tf line 44, in data "null_data_source" "resource": 44: data "null_data_source" "resource" { The null_data_source was historically used to construct intermediate values to re-use elsewhere in configuration, the same can now be achieved using locals or the terraform_data resource type in Terraform 1.4 and later. (and one more similar warning elsewhere) Apply complete! Resources: 3 added, 0 changed, 3 destroyed. Outputs: account_id = "xxxxxxxxxxxx" aws_region = "us-east-1" resource_aka = "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978" resource_name = "turbottest4978" Running SQL query: test-get-query.sql Time: 28.7s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 0. Scans: 1) aws_memorydb_cluster.aws: Time: 18.6s. Fetched: 1. Hydrates: 0. Quals: name=turbottest4978. [ { "arn": "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978", "name": "turbottest4978" } ] ✔ PASSED Running SQL query: test-list-query.sql Time: 1.8s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 0. Scans: 1) aws_memorydb_cluster.aws: Time: 1.4s. Fetched: 1. Hydrates: 0. [ { "arn": "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978", "name": "turbottest4978" } ] ✔ PASSED Running SQL query: test-turbot-query.sql Time: 0.7s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 1. Scans: 1) aws_memorydb_cluster.aws: Time: 0.6s. Fetched: 1. Hydrates: 1. Quals: arn=arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978. [ { "account_id": "xxxxxxxxxxxx", "akas": [ "arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest4978" ], "region": "us-east-1", "title": "turbottest4978" } ] ✔ PASSED POSTTEST: tests/aws_memorydb_cluster TEARDOWN: tests/aws_memorydb_cluster SUMMARY: 1/1 passed. ```Example query results
Results
``` > select * from aws_memorydb_cluster +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> | name | arn | status | description | tls_enabled | acl_name | auto_minor_version_upgrade | availability_mode | data_tiering | engine_patch_versi> +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> | turbottest21314 | arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest21314 | available | Managed by Terraform | true | turbottest21314 | true | | false | 7.1.1 > +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> Time: 108ms. Rows returned: 1. Rows fetched: 1 (cached). Hydrate calls: 0. Scans: 1) aws_memorydb_cluster.aws: Time: 3ms. Fetched: 1 (cached). Hydrates: 0. > .cache off > .cache clear > select * from aws_memorydb_cluster where name = 'turbottest21314' +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> | name | arn | status | description | tls_enabled | acl_name | auto_minor_version_upgrade | availability_mode | data_tiering | engine_patch_versi> +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> | turbottest21314 | arn:aws:memorydb:us-east-1:xxxxxxxxxxxx:cluster/turbottest21314 | available | Managed by Terraform | true | turbottest21314 | true | | false | 7.1.1 > +-----------------+-----------------------------------------------------------------+-----------+----------------------+-------------+-----------------+----------------------------+-------------------+--------------+-------------------> Time: 1.7s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 1. Scans: 1) aws_memorydb_cluster.aws: Time: 1.2s. Fetched: 1. Hydrates: 1. Quals: name=turbottest21314. > select * from aws_memorydb_cluster where name = 'turbottest21314a' +------+-----+--------+-------------+-------------+----------+----------------------------+-------------------+--------------+----------------------+----------------+------------+--------------------+-----------+------------------+----> | name | arn | status | description | tls_enabled | acl_name | auto_minor_version_upgrade | availability_mode | data_tiering | engine_patch_version | engine_version | kms_key_id | maintenance_window | node_type | number_of_shards | par> +------+-----+--------+-------------+-------------+----------+----------------------------+-------------------+--------------+----------------------+----------------+------------+--------------------+-----------+------------------+----> +------+-----+--------+-------------+-------------+----------+----------------------------+-------------------+--------------+----------------------+----------------+------------+--------------------+-----------+------------------+----> Time: 3.1s. Rows returned: 0. Rows fetched: 1. Hydrate calls: 1. Scans: 1) aws_memorydb_cluster.aws: Time: 487ms. Fetched: 1. Hydrates: 1. Quals: name=turbottest21314a. ```