Skip to content

Commit

Permalink
Added iam role and vpc logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zablon-oigo committed Sep 24, 2024
1 parent 4275c47 commit c8d9587
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,14 @@ module "cloudFront" {

module "s3" {
source="./s3"
}
module "iam" {
source = "./iam"
bucket_name = module.s3.s3_bucket_name
}
module "logs" {
source = "./logs"
bucket_name = module.s3.s3_bucket_name
vpc_id = module.test-vpc.vpc_id
iam_role = module.iam.aws_iam_role
}

0 comments on commit c8d9587

Please sign in to comment.