![]() ![]() ![]() Terraform will perform the following actions: Resource actions are indicated with the following symbols: Setting provision_user_database to false after provisioning will not result in removal of the configured database, as the lambda is non-destructive as configured in this module.Īn execution plan has been generated and is shown below. Once configured, the module will deploy the lambda and run it on each provision thus creating the configured database (if it does not exist), updating the user password (if that value has been changed), and updating the output user database secret. prefix - this value will be used to set a unique identifier for the ProvisionDatabase lambda, as well as name the provisioned user/database.rds_user_password - the value to set the user password to.This should in most use cases be the same one used for Cumulus Core deployment. permissions_boundary_arn - the permissions boundary to use in creating the roles for access the provisioning lambda will need.This configures the module to deploy a lambda that will create the user database, and update the provided configuration on deploy. provision_user_database - must be set to true.If you wish for the module to provision a PostgreSQL database on your new cluster and provide a secret for access in the module output, in addition to managing the cluster itself, the following configuration keys are required: provision_user_database - Optional flag to allow module to provision a user database in addition to creating the cluster.min_capacity - the minimum ACUs the cluster will scale to.Carefully consider cost/performance concerns when setting this value. max_capacity - the max ACUs the cluster is allowed to use.For use with Cumulus, these AZs should match the values you configure for your lambda_subnet_ids. subnets - requires at least 2 across different AZs.To randomize this on each deployment, consider using a random_string resource as input. db_admin_password - required variable that specifies the admin user password for the cluster.db_admin_username - cluster database administration username.Set it to false if you want to be able to delete your cluster with a terraform destroy without manually updating the cluster. deletion_protection - defaults to true.A few notable configuration options are documented in the next section. See the rds-cluster-tf module variable definitions for more detail on all of the configuration options. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |