generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.tf
21 lines (20 loc) · 905 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
##############################################################################
# terraform-ibm-container-registry
#
# Upgrade container registry plan
##############################################################################
# Upgrade container registry plan
resource "restapi_object" "container_registry_plan_upgrade" {
path = "//${var.container_registry_endpoint}/api/v1/plans"
data = "{\"plan\":\"Standard\"}"
create_method = "PATCH"
create_path = "//${var.container_registry_endpoint}/api/v1/plans"
destroy_method = "PATCH"
destroy_path = "//${var.container_registry_endpoint}/api/v1/plans"
destroy_data = "{\"plan\":\"Standard\"}"
read_method = "GET"
read_path = "//${var.container_registry_endpoint}/api/v1/plans"
update_method = "PATCH"
update_path = "//${var.container_registry_endpoint}/api/v1/plans"
id_attribute = "plan"
}