File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed
solutions/fully-configurable Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 403403 "key" : " flow_logs_cos_bucket_archive_days"
404404 },
405405 {
406- "key" : " flow_logs_cos_bucket_archive_type"
406+ "key" : " flow_logs_cos_bucket_archive_type" ,
407+ "options" : [
408+ {
409+ "displayname" : " Glacier" ,
410+ "value" : " Glacier"
411+ },
412+ {
413+ "displayname" : " Accelerated" ,
414+ "value" : " Accelerated"
415+ }
416+ ]
407417 },
408418 {
409419 "key" : " flow_logs_cos_bucket_expire_days"
Original file line number Diff line number Diff line change @@ -502,6 +502,10 @@ variable "flow_logs_cos_bucket_archive_type" {
502502 description = " The storage class or archive type you want the object to transition to in the flow logs cloud object storage bucket."
503503 type = string
504504 default = " Glacier"
505+ validation {
506+ condition = contains ([" Glacier" , " Accelerated" ], var. flow_logs_cos_bucket_archive_type )
507+ error_message = " The specified flow_logs_cos_bucket_archive_type is not a valid selection!"
508+ }
505509}
506510
507511variable "flow_logs_cos_bucket_expire_days" {
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ func TestFullyConfigurable(t *testing.T) {
232232 TemplateFolder : fullyConfigFlavorDir ,
233233 Tags : []string {"vpc-da-test" },
234234 DeleteWorkspaceOnFail : false ,
235- WaitJobCompleteMinutes : 60 ,
235+ WaitJobCompleteMinutes : 120 ,
236236 })
237237
238238 options .TerraformVars = []testschematic.TestSchematicTerraformVar {
@@ -276,7 +276,7 @@ func TestRunUpgradeFullyConfigurable(t *testing.T) {
276276 TemplateFolder : fullyConfigFlavorDir ,
277277 Tags : []string {"vpc-da-test" },
278278 DeleteWorkspaceOnFail : false ,
279- WaitJobCompleteMinutes : 60 ,
279+ WaitJobCompleteMinutes : 120 ,
280280 })
281281
282282 options .TerraformVars = []testschematic.TestSchematicTerraformVar {
You can’t perform that action at this time.
0 commit comments