generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
20 lines (19 loc) · 794 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
resource "ibm_schematics_agent" "schematics_agent_instance" {
agent_infrastructure {
infra_type = var.infra_type
cluster_id = var.cluster_id
cluster_resource_group = var.cluster_resource_group_id
cos_instance_name = var.cos_instance_name
cos_bucket_name = var.cos_bucket_name
cos_bucket_region = var.cos_bucket_region
}
agent_location = var.agent_location
description = var.agent_description
name = var.agent_name
resource_group = var.agent_resource_group_id
schematics_location = var.schematics_location
version = var.agent_version
}
resource "ibm_schematics_agent_deploy" "schematics_agent_deploy" {
agent_id = ibm_schematics_agent.schematics_agent_instance.id
}