DoubleCloud AWS Bring Your Own Cloud terraform module
Terraform module which creates AWS resources to bring them into DoubleCloud.
module "byoc" {
source = "doublecloud/doublecloud-byoc/aws"
ipv4_cidr = "196.168.42.0/24"
}
resource "doublecloud_network" "aws" {
project_id = var.project_id
name = "my-aws-network"
region_id = module.byoc.region_id
cloud_type = "aws"
aws = {
vpc_id = module.byoc.vpc_id
account_id = module.byoc.account_id
iam_role_arn = module.byoc.iam_role_arn
}
}
Name |
Version |
aws |
>= 4.51.0 |
time |
>= 0.9.1 |
No modules.
Name |
Description |
account_id |
AWS Account ID where resources will be created. |
iam_role_arn |
ARN of the IAM Role that has permissions to create resources in the VPC. |
region_id |
AWS Region where resources will be created. |
vpc_id |
ID of the created VPC. DoubleCloud resources will be created in this VPC. |