forked from snyk-workshops/DSOF-Patch-IaC-App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
36 lines (31 loc) · 871 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
provider "aws" {
version = "~> 2.67"
region = var.region
skip_credentials_validation = true
skip_requesting_account_id = true
skip_metadata_api_check = true
access_key = "mock_access_key"
secret_key = "mock_secret_key"
}
resource "aws_iam_account_password_policy" "strict" {
minimum_password_length = 8
#require_lowercase_characters = true
#require_numbers = true
#require_uppercase_characters = true
#require_symbols = true
#allow_users_to_change_password = true
#password_reuse_prevention = 24
max_password_age = 3
}
module "vpc" {
source = "./modules/vpc"
}
module "storage" {
source = "./modules/storage"
}
module "cloudtrail" {
source = "./modules/cloudtrail"
}
module "pki" {
source = "./modules/pki"
}