[ch5781] | Piyush | Remove code which was generated
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
terraform19 init
|
||||
terraform19 workspace select spike.np.navi-tech.in || terraform workspace new spike.np.navi-tech.in
|
||||
terraform19 apply -target=module.rds.data.aws_subnet_ids.command_private_subnets -auto-approve
|
||||
terraform19 apply -target=module.rds.module.rds_instance -auto-approve
|
||||
terraform19 apply -target=module.rds.module.rds_instance_events -auto-approve
|
||||
terraform19 apply -target=module.rds.module.postgres_db -auto-approve
|
||||
@@ -1,25 +0,0 @@
|
||||
terraform {
|
||||
backend "s3" {
|
||||
bucket = "navi-bank-terraform-command-state"
|
||||
region = "ap-south-1"
|
||||
key = "rds"
|
||||
workspace_key_prefix = "rds-states/foo-service"
|
||||
profile = "cmd"
|
||||
acl = "bucket-owner-full-control"
|
||||
}
|
||||
}
|
||||
|
||||
module "rds" {
|
||||
source = "git::ssh://git@github.cmd.navi-tech.in/navi-infra/rds.git"
|
||||
environment = "spike"
|
||||
instance_name = "foo-service"
|
||||
password = "foo_service_password"
|
||||
size = 7
|
||||
user = "foo_service_user"
|
||||
|
||||
databases = ["foo_service"]
|
||||
database_tags = {
|
||||
Team = "Infra"
|
||||
}
|
||||
backup_retention_period = 1
|
||||
}
|
||||
Reference in New Issue
Block a user