-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from Aswin-Vijayan/TEC-56
[TEC-56][Added] - VPC Endpoints and NACL
- Loading branch information
Showing
30 changed files
with
1,698 additions
and
86 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
environments/dev/backend/dynamodb.tf → environments/dev/backend/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Effect": "Allow", | ||
"Action": "*", | ||
"Resource": "*" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
provider "aws" { | ||
region = var.region | ||
} | ||
|
||
module "ses" { | ||
source = "../../modules/ses" | ||
region = var.region | ||
domain_name = var.domain_name | ||
dkim_record_count = var.dkim_record_count | ||
zone_id = var.zone_id | ||
dkim_record_type = var.dkim_record_type | ||
dkim_ttl = var.dkim_ttl | ||
custom_mail = var.custom_mail | ||
spf_mx_record = var.spf_mx_record | ||
spf_txt_record = var.spf_txt_record | ||
spf_ttl = var.spf_ttl | ||
name = var.name | ||
environment = var.environment | ||
owner = var.owner | ||
cost_center = var.cost_center | ||
application = var.application | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
output "domain_identity_token" { | ||
description = "Domain identity tokens" | ||
value = module.ses.domain_identity_token | ||
} | ||
|
||
output "domain_verification" { | ||
description = "Verification status of the domain identity" | ||
value = module.ses.domain_verification | ||
} | ||
|
||
output "dkim_tokens" { | ||
description = "DKIM tokens for domain identity" | ||
value = module.ses.dkim_tokens | ||
} | ||
|
||
output "domain_mail" { | ||
description = "Email address associated with the domain identity" | ||
value = module.ses.domain_mail | ||
} | ||
|
||
output "route53_dkim_fqdn" { | ||
description = "FQDN for the Route 53 DKIM DNS record" | ||
value = module.ses.route53_dkim_fqdn | ||
} | ||
|
||
output "route53_spf_mx_fqdn" { | ||
description = "FQDN for the Route 53 SPF MX DNS record" | ||
value = module.ses.route53_spf_mx_fqdn | ||
} | ||
|
||
output "route53_spf_txt_fqdn" { | ||
description = "FQDN for the Route 53 SPF TXT DNS record" | ||
value = module.ses.route53_spf_txt_fqdn | ||
} | ||
|
||
output "iam_user_name" { | ||
description = "IAM user name associated with SES" | ||
value = module.ses.iam_user_name | ||
} | ||
|
||
output "iam_user_policy" { | ||
description = "IAM policy associated with the IAM user" | ||
value = module.ses.iam_user_policy | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
variable "region" { | ||
type = string | ||
description = "Region of the EC2 instance" | ||
} | ||
|
||
variable "domain_name" { | ||
type = string | ||
description = "Name of the domain" | ||
} | ||
|
||
variable "dkim_record_count" { | ||
type = number | ||
description = "Number of DKIM records to create" | ||
} | ||
|
||
variable "zone_id" { | ||
type = string | ||
description = "ID of the DNS zone where records will be added" | ||
} | ||
|
||
variable "dkim_record_type" { | ||
type = string | ||
description = "Type of DKIM records to create" | ||
} | ||
|
||
variable "dkim_ttl" { | ||
type = number | ||
description = "Time To Live (TTL) for DKIM records" | ||
} | ||
|
||
variable "custom_mail" { | ||
type = string | ||
description = "Custom email address to associate with the domain" | ||
} | ||
|
||
variable "spf_mx_record" { | ||
type = string | ||
description = "SPF MX record value for domain" | ||
} | ||
|
||
variable "spf_txt_record" { | ||
type = string | ||
description = "SPF TXT record value for domain" | ||
} | ||
|
||
variable "spf_ttl" { | ||
type = number | ||
description = "Time To Live (TTL) for SPF records" | ||
} | ||
|
||
variable "tags" { | ||
default = {} | ||
type = map(string) | ||
description = "Tags to associate with the resources" | ||
} | ||
|
||
variable "name" { | ||
type = string | ||
description = "Name of the resource" | ||
} | ||
|
||
variable "environment" { | ||
type = string | ||
description = "Environment where the resource is deployed" | ||
} | ||
|
||
variable "owner" { | ||
type = string | ||
description = "Owner of the resource" | ||
} | ||
|
||
variable "cost_center" { | ||
type = string | ||
description = "Cost center responsible for the resource" | ||
} | ||
|
||
variable "application" { | ||
type = string | ||
description = "Application to which the resource belongs" | ||
} |
Oops, something went wrong.