Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
NOC
Iac
Commits
58a00d93
Commit
58a00d93
authored
Jan 15, 2022
by
malf
Browse files
Initial commit
parents
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
58a00d93
.terraform*
terraform.tfstate
main.tf
0 → 100644
View file @
58a00d93
terraform
{
required_providers
{
aws
=
{
source
=
"hashicorp/aws"
version
=
"~> 3.0"
}
}
}
# Configure the AWS Provider
provider
"aws"
{
region
=
"eu-west-1"
}
vpc.tf
0 → 100644
View file @
58a00d93
module
"vpc"
{
source
=
"terraform-aws-modules/vpc/aws"
name
=
"test"
cidr
=
"10.42.0.0/16"
azs
=
[
"eu-west-1b"
,
"eu-west-1c"
]
private_subnets
=
[
"10.42.2.0/24"
,
"10.42.3.0/24"
]
public_subnets
=
[
"10.42.12.0/24"
,
"10.42.13.0/24"
]
enable_nat_gateway
=
true
tags
=
{
Terraform
=
"true"
Environment
=
"test"
Maintainer
=
"malf/neff"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment