-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
40 lines (34 loc) · 915 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
37
38
39
40
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
}
azurerm = {
source = "hashicorp/azurerm"
version = "~> 2.0"
}
}
}
provider "azurerm" {
# Configuration options
features {}
}
provider "aws" {
region = "us-east-2"
}
module "azure" {
source = "./azure/"
aws_vpc_cidr = module.aws.aws_vpc_cidr
aws_vpn_1_public_ip_1 = module.aws.aws_vpn_1_public_ip_1
aws_vpn_1_public_ip_2 = module.aws.aws_vpn_1_public_ip_2
aws_vpn_1_shared_key_1 = module.aws.aws_vpn_1_shared_key_1
aws_vpn_1_shared_key_2 = module.aws.aws_vpn_1_shared_key_2
aws_vpn_2_public_ip_1 = module.aws.aws_vpn_2_public_ip_1
aws_vpn_2_public_ip_2 = module.aws.aws_vpn_2_public_ip_2
aws_vpn_2_shared_key_1 = module.aws.aws_vpn_2_shared_key_1
aws_vpn_2_shared_key_2 = module.aws.aws_vpn_2_shared_key_2
}
module "aws" {
source = "./aws/"
}