forked from ptaube/tf_cloudless_sleepy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.tf
35 lines (32 loc) · 1.01 KB
/
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
# Create an arbitrary local resource
data "template_file" "test" {
template = "Hello, I am a template. My sample_var value = $${sample_var}"
vars = {
sample_var = var.sample_var
}
}
terraform {
required_version = ">= 0.15, <.20"
}
# resource "ibm_cm_catalog" "cm_catalog" {
# label = "tf_test_offering_catalog"
# short_description = "testing terraform provider with catalog"
# }
# resource "ibm_cm_offering" "cm_offering1" {
# catalog_id = ibm_cm_catalog.cm_catalog.id
# label = "tf_test_offering"
# tags = var.string_array_with_type
# test_int = var.int_with_type
# test_float = var.float_with_type
# test_bool = var.boolean_with_type
# test_map = var.object_with_type
# }
# resource "ibm_cm_offering" "cm_offering2" {
# catalog_id = ibm_cm_catalog.cm_catalog.id
# label = "tf_test_offering2"
# tags = var.string_array_no_type
# test_int = var.int_no_type
# test_float = var.float_no_type
# test_bool = var.boolean_no_type
# test_map = var.object_no_type
# }