scalecube / spinless

0 stars 1 forks source link

Delete resource: together with S3 files, need to remove record in dynamodb as well #68

Open snripa opened 4 years ago

snripa commented 4 years ago

Using dynamodb client: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingStarted.Python.03.html

Dynamodb table: terraform-lock (configurable) Tables's Key field: 'LockId' example: Value (example) : terraform-states/develop/cluster/new-api-1/terraform.tfstate-md5 Value: ${s3_bucket_name}/${account_name}/${resource_type}/${resource_name}/terraform.tfstate-md5