Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 5.32 KB

INFO.md

File metadata and controls

48 lines (39 loc) · 5.32 KB

Requirements

Name Version
ibm 1.54.0

Modules

Name Source Version
cos git::https://github.com/terraform-ibm-modules/terraform-ibm-cos v6.7.0
resource_group git::https://github.com/terraform-ibm-modules/terraform-ibm-resource-group.git v1.0.5
security_group terraform-ibm-modules/vpc/ibm//modules/security-group 1.1.1
vpc terraform-ibm-modules/vpc/ibm//modules/vpc 1.1.1

Resources

Name Type
ibm_iam_authorization_policy.cos_flowlogs resource
ibm_is_floating_ip.example resource
ibm_is_flow_log.frontend_collector resource
ibm_is_ssh_key.generated_key resource
null_resource.create_private_key resource
random_string.prefix resource
tls_private_key.ssh resource
ibm_is_ssh_key.sshkey data source
ibm_is_zones.regional data source
ibm_resource_instance.cos data source

Inputs

Name Description Type Default Required
classic_access Allow classic access to the VPC. bool false no
default_address_prefix The address prefix to use for the VPC. Default is set to auto. string "auto" no
existing_cos_instance Name of an existing COS instance to use for resources. If not set, a new COS instance will be created. string n/a yes
existing_resource_group Name of an existing Resource Group to use for resources. If not set, a new Resource Group will be created. string n/a yes
existing_ssh_key Name of an existing SSH key in the region. If not set, a new SSH key will be created. string n/a yes
frontend_rules A list of security group rules to be added to the Frontend security group
list(
object({
name = string
direction = string
remote = string
tcp = optional(
object({
port_max = optional(number)
port_min = optional(number)
})
)
udp = optional(
object({
port_max = optional(number)
port_min = optional(number)
})
)
icmp = optional(
object({
type = optional(number)
code = optional(number)
})
)
})
)
[
{
"direction": "inbound",
"ip_version": "ipv4",
"name": "inbound-http",
"remote": "0.0.0.0/0",
"tcp": {
"port_max": 80,
"port_min": 80
}
},
{
"direction": "inbound",
"ip_version": "ipv4",
"name": "inbound-https",
"remote": "0.0.0.0/0",
"tcp": {
"port_max": 443,
"port_min": 443
}
},
{
"direction": "inbound",
"ip_version": "ipv4",
"name": "inbound-ssh",
"remote": "0.0.0.0/0",
"tcp": {
"port_max": 22,
"port_min": 22
}
},
{
"direction": "inbound",
"icmp": {
"code": 0,
"type": 8
},
"ip_version": "ipv4",
"name": "inbound-icmp",
"remote": "0.0.0.0/0"
},
{
"direction": "outbound",
"ip_version": "ipv4",
"name": "dns-outbound",
"remote": "0.0.0.0/0",
"udp": {
"port_max": 53,
"port_min": 53
}
}
]
no
project_prefix Prefix to use for resource names string n/a yes
region IBM Cloud region where resources will be deployed string n/a yes

Outputs

No outputs.