Skip to content

Commit

Permalink
add unit test for 2 instances
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepstaylor committed Jan 29, 2024
1 parent cc5958e commit 6674b29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ locals {
}

module "bastion_linux" {
count = 2
source = "../../"

providers = {
aws.share-host = aws.core-vpc # core-vpc-(environment) holds the networking for all accounts
aws.share-tenant = aws # The default provider (unaliased, `aws`) is the tenant
}

# Instance name
name = "bastion_linux_${count.index + 1}"

# s3 - used for logs and user ssh public keys
bucket_name = "bastion"
bucket_versioning = true
Expand Down

0 comments on commit 6674b29

Please sign in to comment.