UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
Customers
template
Compare Revisions
775a4b37418bd57552abea8f7365f67ec052f33e...8f39c0f98beb9f35478dd84d128d0a9dc509f73f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
23 deletions
+23
-23
terraform/modules/vpc/outputs.tf
terraform/modules/vpc/outputs.tf
+3
-3
terraform/modules/vpc/variables.tf
terraform/modules/vpc/variables.tf
+6
-6
terraform/options/kms/main.tf
terraform/options/kms/main.tf
+5
-5
terraform/options/kms/variables.tf
terraform/options/kms/variables.tf
+3
-3
terraform/options/s3/gitlab/variables.tf
terraform/options/s3/gitlab/variables.tf
+2
-2
terraform/options/s3/mattermost/variables.tf
terraform/options/s3/mattermost/variables.tf
+2
-2
terraform/options/s3/velero/variables.tf
terraform/options/s3/velero/variables.tf
+2
-2
No files found.
terraform/modules/vpc/outputs.tf
View file @
8f39c0f9
output
"vpc_id"
{
output
"vpc_id"
{
description
=
"The Virtual Private Cloud (VPC) ID"
description
=
"The Virtual Private Cloud (VPC) ID"
value
=
module
.
vpc
.
vpc_id
value
=
module
.
vpc
.
vpc_id
}
}
output
"private_subnet_ids"
{
output
"private_subnet_ids"
{
description
=
"The list of private subnet IDs in the VPC"
description
=
"The list of private subnet IDs in the VPC"
value
=
module
.
vpc
.
private_subnets
value
=
module
.
vpc
.
private_subnets
}
}
output
"public_subnet_ids"
{
output
"public_subnet_ids"
{
description
=
"Thge list of public subnet IDs in the VPC"
description
=
"Thge list of public subnet IDs in the VPC"
value
=
module
.
vpc
.
public_subnets
value
=
module
.
vpc
.
public_subnets
}
}
\ No newline at end of file
terraform/modules/vpc/variables.tf
View file @
8f39c0f9
variable
"name"
{
variable
"name"
{
description
=
"The name to apply to the VPC and Subnets"
description
=
"The name to apply to the VPC and Subnets"
type
=
string
type
=
string
default
=
"bigbang-dev"
default
=
"bigbang-dev"
}
}
variable
"vpc_cidr"
{
variable
"vpc_cidr"
{
...
@@ -11,12 +11,12 @@ variable "vpc_cidr" {
...
@@ -11,12 +11,12 @@ variable "vpc_cidr" {
variable
"aws_region"
{
variable
"aws_region"
{
description
=
"The AWS region to deploy resources"
description
=
"The AWS region to deploy resources"
type
=
string
type
=
string
default
=
"us-gov-west-1"
default
=
"us-gov-west-1"
}
}
variable
"tags"
{
variable
"tags"
{
description
=
"The tags to apply to resources"
description
=
"The tags to apply to resources"
type
=
map
(
string
)
type
=
map
(
string
)
default
=
{}
default
=
{}
}
}
\ No newline at end of file
terraform/options/kms/main.tf
View file @
8f39c0f9
resource
"aws_kms_key"
"this"
{
resource
"aws_kms_key"
"this"
{
description
=
"
${
var
.
name
}
key"
description
=
"
${
var
.
name
}
key"
enable_key_rotation
=
true
enable_key_rotation
=
true
key_usage
=
"ENCRYPT_DECRYPT"
key_usage
=
"ENCRYPT_DECRYPT"
tags
=
merge
({},
var
.
tags
)
tags
=
merge
({},
var
.
tags
)
}
}
...
@@ -10,11 +10,11 @@ resource "aws_kms_grant" "grants" {
...
@@ -10,11 +10,11 @@ resource "aws_kms_grant" "grants" {
count
=
length
(
var
.
principal_grants
)
count
=
length
(
var
.
principal_grants
)
grantee_principal
=
var
.
principal_grants
[
count
.
index
]
grantee_principal
=
var
.
principal_grants
[
count
.
index
]
key_id
=
aws_kms_key
.
this
.
key_id
key_id
=
aws_kms_key
.
this
.
key_id
operations
=
[
"Decrypt"
]
operations
=
[
"Decrypt"
]
}
}
resource
"aws_kms_alias"
"this"
{
resource
"aws_kms_alias"
"this"
{
name
=
"alias/
${
var
.
name
}
"
name
=
"alias/
${
var
.
name
}
"
target_key_id
=
aws_kms_key
.
this
.
key_id
target_key_id
=
aws_kms_key
.
this
.
key_id
}
}
terraform/options/kms/variables.tf
View file @
8f39c0f9
variable
"name"
{}
variable
"name"
{}
variable
"principal_grants"
{
variable
"principal_grants"
{
type
=
list
(
string
)
type
=
list
(
string
)
description
=
"principals to grant Decrypt to"
description
=
"principals to grant Decrypt to"
default
=
[]
default
=
[]
}
}
variable
"tags"
{
variable
"tags"
{
type
=
map
(
string
)
type
=
map
(
string
)
default
=
{}
default
=
{}
}
}
\ No newline at end of file
terraform/options/s3/gitlab/variables.tf
View file @
8f39c0f9
variable
"name"
{}
variable
"name"
{}
variable
"bucket_force_destroy"
{
variable
"bucket_force_destroy"
{
type
=
bool
type
=
bool
default
=
true
default
=
true
}
}
variable
"tags"
{
variable
"tags"
{
type
=
map
(
string
)
type
=
map
(
string
)
default
=
{}
default
=
{}
}
}
\ No newline at end of file
terraform/options/s3/mattermost/variables.tf
View file @
8f39c0f9
variable
"name"
{}
variable
"name"
{}
variable
"bucket_force_destroy"
{
variable
"bucket_force_destroy"
{
type
=
bool
type
=
bool
default
=
true
default
=
true
}
}
variable
"tags"
{
variable
"tags"
{
type
=
map
(
string
)
type
=
map
(
string
)
default
=
{}
default
=
{}
}
}
\ No newline at end of file
terraform/options/s3/velero/variables.tf
View file @
8f39c0f9
variable
"name"
{}
variable
"name"
{}
variable
"bucket_force_destroy"
{
variable
"bucket_force_destroy"
{
type
=
bool
type
=
bool
default
=
true
default
=
true
}
}
variable
"tags"
{
variable
"tags"
{
type
=
map
(
string
)
type
=
map
(
string
)
default
=
{}
default
=
{}
}
}
\ No newline at end of file
Prev
1
2
Next