Skip to content

Commit

Permalink
fix markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Sep 26, 2023
1 parent 394d97c commit 2ed1f5a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
30 changes: 16 additions & 14 deletions a/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ data "aws_vpc_dhcp_options" "options" {
values = [local.vpc_id]
}
}
```

```hcl
module "dms\_replication\_dns" {
module "dms_replication_dns" {
source = "git@github.e.it.census.gov:terraform-modules/aws-dns//host"
name = format("%v.%v", aws\_dms\_replication\_instance.dev.replication\_instance\_id, data.aws\_vpc\_dhc\_options.options.domain\_name)
values = aws\_dms\_replication\_instance.dev.replication\_instance\_private\_ips
name = format("%v.%v", aws_dms_replication_instance.dev.replication_instance_id, data.aws_vpc_dhc_options.options.domain_name)
values = aws_dms_replication_instance.dev.replication_instance_private_ips
}
```

Expand All @@ -84,30 +85,31 @@ This requires the role `r-inf-terraform-route53` be created from the Terraform m
(generally in `common/apps/route53`. It then uses an STS AssumeRole from Terraform. You must have the approriate permissions
on the source account to assume this role.

file: provider.route53.east_ma13_gov.tf
file: provider.route53.east\_ma13\_gov.tf
```hcl
provider "aws" {
alias = "east\_ma13\_gov"
region = var.region\_map["east"]
assume\_role {
role\_arn = format("arn:%v:iam::%v:role/r-inf-terraform-route53", data.aws\_arn.current.partition, "187944776148")
session\_name = var.os\_username
alias = "east_ma13_gov"
region = var.region_map["east"]
assume_role {
role_arn = format("arn:%v:iam::%v:role/r-inf-terraform-route53", data.aws_arn.current.partition, "187944776148")
session_name = var.os_username
}
}
```

file: dns.tf
```hcl
module "db\_cname" {
module "db_cname" {
providers = {
aws = aws.east\_ma13\_gov
aws = aws.east_ma13_gov
}
source = "git@github.e.it.census.gov:terraform-modules/aws-dns//cname"
zone = var.vpc\_domain\_name
name = local.app\_db\_dns\_name
values = [module.db.db\_instance\_address]
zone = var.vpc_domain_name
name = local.app_db_dns_name
values = [module.db.db_instance_address]
}
```

## Requirements

Expand Down
1 change: 1 addition & 0 deletions a/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
* values = [local.vpc_id]
* }
* }
* ```
*
* ```hcl
* module "dms_replication_dns" {
Expand Down

0 comments on commit 2ed1f5a

Please sign in to comment.