agnostic
DOboznyi/agnostic/cloud
Terraform Module
HCL
CLOUD
Install
module "agnostic" {
source = "DOboznyi/agnostic/cloud"
version = "0.0.3"
}
README
terraform-cloud-agnostic This Terraform module mirror infrastructure in AWS and Azure.
Inputs (12)
| Name | Type | Description | Default |
|---|---|---|---|
| ssh_key | string | SSH public key for connecting to VM | required |
| naming_suffixes | list(string) | List of suffixes which will be used in objects naming | [] |
| os_settings | map(map(string)) | Type of instance | {
"aws": {
"filter_name": "ubuntu/ |
| region | string | Region where resources will be created. Required only for Azure | "westeurope" |
| tags | map(string) | A mapping of tags to assign to the resources | {} |
| network_cidr | string | Network CIDR | "10.0.0.0/16" |
| subnet_cidr | string | subnet CIDR | "10.0.0.0/24" |
| enable_outbound_traffic | bool | Enable possibility to reach internet from VPC or VNet | true |
| user_data | map(string) | Initial script for virtual machine | {
"aws": "",
"azure": ""
} |
| acl_rules | list(map(string)) | Network ACLs | [] |
| clouds | list(string) | A list of clouds where resources will be deployed | [] |
| instance_type | map(string) | Type of instance | {
"aws": "t2.micro",
"azure": "Stand |
Outputs (12)
network_interface_id — Network interface ID. Specific for Azurerg_id — Resource group IDnetwork_id — Network IDsubnet_id — Subnet IDigw_id — Internet Gateway ID. Specific for AWSkey_id — Key ID used as ssh key for VM in AWS. Specific for AWSpublic_ip — Frontend IProute_table_id — Route table IDacl_id — Network ACL IDpublic_ip_id — Public/Elastic IP IDsecurity_group_id — Security group ID. Specific for AWSinstance_id — Instance IDDetails
FrameworkTerraform Module
LanguageHCL
Version0.0.3
Cloud CLOUD
★ Stars1
Forks2
Total downloads782
Inputs12
Outputs12
Submodules2
NamespaceDOboznyi
Updated