33# Copyright 2020 IBM
44# ####################################################
55
6- variable "ats_provision " {
6+ variable "is_provision_activity_tracker " {
77 type = bool
88 description = " Disable this to read the existing activity tracker instance"
99 default = true
@@ -17,44 +17,38 @@ variable "ats_service_supertenant" {
1717 default = " " // provide valid values here
1818}
1919
20- variable "ats_provision_key " {
20+ variable "supertenant_activity_tracker_provision_key " {
2121 type = string
2222 description = " ATS: activity_tracker Provision key"
2323 default = " " // provide valid values here
2424}
2525
26- variable "ats_associated_logging_crn" {
27- type = string
28- description = " Logging: Enter the associated logging crn"
29- default = " " // provide valid value here
30- }
31-
32- variable "is_ats_instance" {
26+ variable "is_supertenant_activity_tracker" {
3327 type = bool
3428 description = " Set this to provison ATS instance"
3529 default = true
3630}
3731
38- variable "use_existing_sts_crn " {
32+ variable "is_attach_existing_supertenant_logging_crn " {
3933 type = bool
4034 description = " Enable this to attach existing logging STS instance to activity tracket ATS instance"
4135 default = false
4236}
4337
4438# ############ ATS specific parameters end ####################
4539
46- variable "ats_name " {
40+ variable "supertenant_activity_tracker_name " {
4741 type = string
4842 description = " Enter The name of the activity tracker ATS instance"
4943}
5044
51- variable "ats_plan " {
45+ variable "supertenant_activity_tracker_plan " {
5246 type = string
5347 description = " The type of plan the service instance should run under (lite, 7-day, 14-day, or 30-day)"
5448 default = " 7-day"
5549}
5650
57- variable "ats_region " {
51+ variable "supertenant_activity_tracker_region " {
5852 type = string
5953 description = " Geographic location of the resource (e.g. us-south, us-east)"
6054 default = " us-south"
@@ -78,25 +72,25 @@ variable "delete_timeout" {
7872 default = null
7973}
8074
81- variable "ats_tags " {
75+ variable "supertenant_activity_tracker_tags " {
8276 type = list (string )
8377 description = " activity_tracker Tags that should be applied to the service"
8478 default = null
8579}
8680
87- variable "ats_bind_key " {
81+ variable "is_bind_key_to_supertenant_activity_tracker " {
8882 description = " activity_tracker Enable this to bind key to instance (true/false)"
8983 type = bool
9084 default = false
9185}
9286
93- variable "ats_key_name " {
87+ variable "supertenant_activity_tracker_key_name " {
9488 description = " activity_tracker Name of the instance key"
9589 type = string
9690 default = null
9791}
9892
99- variable "ats_key_tags " {
93+ variable "supertenant_activity_tracker_key_tags " {
10094 type = list (string )
10195 description = " Tags that should be applied to the key"
10296 default = null
@@ -106,70 +100,76 @@ variable "ats_key_tags" {
106100# Logging STS instance
107101# ##############################################
108102
109- variable "sts_provision " {
103+ variable "is_provision_logging " {
110104 type = bool
111105 description = " Disable this to read the existing activity tracker instance"
112106 default = true
113107}
114108
115109# ############## STS Specific parameters start ##################
116110
117- variable "sts_service_supertenant " {
111+ variable "logging_service_supertenant " {
118112 type = string
119113 description = " Logging: Name of your supertenant service"
120114 default = " " // provide valid value here
121115}
122116
123- variable "sts_provision_key" {
117+ variable "supertenant_activity_tracker_associated_logging_crn" {
118+ type = string
119+ description = " Logging: Enter the associated logging crn"
120+ default = null // provide valid value here
121+ }
122+
123+ variable "logging_provision_key" {
124124 type = string
125125 description = " Logging: Provision key"
126126 default = " " // provide valid value here
127127}
128128
129129# ############## STS Specific parameters end #####################
130130
131- variable "sts_bind_key " {
131+ variable "is_bind_key_to_logging_instance " {
132132 description = " Flag indicating that key should be bind to logdna hippa instance"
133133 type = bool
134134 default = false
135135}
136136
137- variable "sts_name " {
137+ variable "logging_name " {
138138 description = " Name of the STS instance"
139139 type = string
140140}
141141
142- variable "sts_plan " {
142+ variable "logging_plan " {
143143 description = " plan type (14-day, 30-day, 7-day, hipaa-30-day and lite)"
144144 type = string
145145 default = " 7-day"
146146}
147147
148- variable "sts_region " {
148+ variable "logging_region " {
149149 description = " Provisioning Region"
150150 type = string
151151 default = " us-south"
152152}
153153
154- variable "sts_service_endpoints " {
154+ variable "logging_visibility " {
155155 description = " Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'."
156156 type = string
157157 default = null
158158}
159159
160- variable "sts_tags " {
160+ variable "logging_tags " {
161161 type = list (string )
162162 description = " Tags that should be applied to the service"
163163 default = null
164164}
165165
166- variable "sts_key_tags " {
166+ variable "logging_key_tags " {
167167 type = list (string )
168168 description = " Tags that should be applied to the key"
169169 default = null
170170}
171171
172- variable "sts_key_name " {
172+ variable "logging_key_name " {
173173 description = " Name of the instance key"
174174 type = string
175175 default = null
0 commit comments