generated from 18F/open-source-policy
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLEANUP] Use the latest version of EKS Brokerpak #158
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The version was previously reverted to restore inventory running on Solr 6; however, since we no longer have those circumstances around, we need to use the latest version to be able to support optimizing new features and cost
Terraform plan for staging Plan: 1 to add, 2 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
Terraform will perform the following actions:
# cloudfoundry_service_instance.solrcloud_broker_k8s_cluster will be created
+ resource "cloudfoundry_service_instance" "solrcloud_broker_k8s_cluster" {
+ id = (known after apply)
+ json_params = jsonencode(
{
+ mng_desired_capacity = 1
+ mng_instance_types = [
+ "t2.small",
]
+ mng_max_capacity = 1
+ mng_min_capacity = 1
}
)
+ name = "ssb-solrcloud-k8s"
+ recursive_delete = false
+ replace_on_params_change = false
+ replace_on_service_plan_change = false
+ service_plan = "75ff550a-1f72-4bc2-9bd9-644a174a3384"
+ space = "5edc803e-3376-4788-b72c-a152f11925b0"
+ tags = [
+ "k8s",
]
+ timeouts {
+ create = "60m"
+ delete = "40m"
+ update = "90m"
}
}
# module.broker_eks.cloudfoundry_app.ssb will be updated in-place
~ resource "cloudfoundry_app" "ssb" {
id = "22f55874-0d0d-4645-a48b-561d42dde1fa"
~ id_bg = "************************************" -> (known after apply)
name = "ssb-eks"
~ source_code_hash = "k6XbIlh6B0YkLuPSFaLlU5lGscwdx6b7sr0UhOOgSYE=" -> "Rk8mSZXh0vqJ32RuZfoOwCF7uzDQhzblzXMzhO4i5uk="
# (18 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.broker_solrcloud.cloudfoundry_app.ssb will be updated in-place
~ resource "cloudfoundry_app" "ssb" {
id = "ddef884b-c4dd-4a89-9ee5-aa0f5ea3cabf"
~ id_bg = "************************************" -> (known after apply)
name = "ssb-solrcloud"
# (19 unchanged attributes hidden)
+ service_binding {
+ service_instance = (known after apply)
}
# (2 unchanged blocks hidden)
}
Plan: 1 to add, 2 to change, 0 to destroy. ❌ Error applying plan in apply #105 |
Terraform plan for production Plan: 1 to add, 2 to change, 9 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
~ update in-place
- destroy
Terraform will perform the following actions:
# cloudfoundry_service_instance.solrcloud_broker_k8s_cluster will be created
+ resource "cloudfoundry_service_instance" "solrcloud_broker_k8s_cluster" {
+ id = (known after apply)
+ json_params = jsonencode(
{
+ mng_desired_capacity = 1
+ mng_instance_types = [
+ "t2.small",
]
+ mng_max_capacity = 1
+ mng_min_capacity = 1
}
)
+ name = "ssb-solrcloud-k8s"
+ recursive_delete = false
+ replace_on_params_change = false
+ replace_on_service_plan_change = false
+ service_plan = "07996909-c99a-4f7b-b154-4330e363693b"
+ space = "9a1db116-0180-42be-8ffa-7944dcf6bf50"
+ tags = [
+ "k8s",
]
+ timeouts {
+ create = "60m"
+ delete = "40m"
+ update = "90m"
}
}
# module.broker_eks.cloudfoundry_app.ssb will be updated in-place
~ resource "cloudfoundry_app" "ssb" {
id = "20a6babb-fd11-465c-88b1-019c6d72e04e"
~ id_bg = "************************************" -> (known after apply)
~ instances = 2 -> 1
name = "ssb-eks"
~ source_code_hash = "k6XbIlh6B0YkLuPSFaLlU5lGscwdx6b7sr0UhOOgSYE=" -> "Rk8mSZXh0vqJ32RuZfoOwCF7uzDQhzblzXMzhO4i5uk="
# (17 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.broker_solr.cloudfoundry_app.ssb will be destroyed
# (because cloudfoundry_app.ssb is not in configuration)
- resource "cloudfoundry_app" "ssb" {
- buildpack = "binary_buildpack" -> null
- command = "source .profile && ./cloud-service-broker serve" -> null
- disk_quota = 2048 -> null
- docker_image = "" -> null
- enable_ssh = false -> null
- environment = (sensitive value)
- health_check_http_endpoint = "" -> null
- health_check_timeout = 0 -> null
- health_check_type = "port" -> null
- id = "e12a5612-c842-4880-a4c2-c53acf809ed5" -> null
- id_bg = "e12a5612-c842-4880-a4c2-c53acf809ed5" -> null
- instances = 1 -> null
- memory = 256 -> null
- name = "ssb-solr" -> null
- path = "./app-ssb-solr.zip" -> null
- ports = [
- 8080,
] -> null
- source_code_hash = "XiYr3BX9sxZDqxn59BFZ5FCtHcIdmnlBOjcJlB6gz+I=" -> null
- space = "9a1db116-0180-42be-8ffa-7944dcf6bf50" -> null
- stack = "ad34309f-ab24-4c3d-9ad1-eb0da8378bd4" -> null
- stopped = false -> null
- strategy = "blue-green" -> null
- timeout = 60 -> null
- routes {
- port = 8080 -> null
- route = "55daf0e6-9dd4-4273-995c-6c1363ead364" -> null
}
- service_binding {
- params = (sensitive value)
- service_instance = "4c682b52-1f15-438d-9e4d-621a1d9c3e22" -> null
}
}
# module.broker_solr.cloudfoundry_route.ssb_uri will be destroyed
# (because cloudfoundry_route.ssb_uri is not in configuration)
- resource "cloudfoundry_route" "ssb_uri" {
- domain = "50ba3f69-cd54-4963-9172-14f3334b479e" -> null
- endpoint = "ssb-solr-gsa-datagov-management.app.cloud.gov" -> null
- hostname = "ssb-solr-gsa-datagov-management" -> null
- id = "55daf0e6-9dd4-4273-995c-6c1363ead364" -> null
- space = "9a1db116-0180-42be-8ffa-7944dcf6bf50" -> null
}
# module.broker_solr.cloudfoundry_service_broker.space_scoped_broker["gsa-datagov/development"] will be destroyed
# (because cloudfoundry_service_broker.space_scoped_broker is not in configuration)
- resource "cloudfoundry_service_broker" "space_scoped_broker" {
- catalog_change = false -> null
- catalog_hash = "YVywS6YTvqZDBaaWSwyz5aShd-I=" -> null
- fail_when_catalog_not_accessible = false -> null
- id = "c3ad20b5-87f6-4453-bd9d-af154bfd3093" -> null
- name = "ssb-solr-gsa-datagov-development" -> null
- password = (sensitive value)
- service_plans = {
- "solr-cloud/base" = "afbb9a3e-9e68-4eac-9116-981eaaf243af"
} -> null
- services = {
- "solr-cloud" = "c9aeae38-db35-4bcb-a1ec-3ba5574cd673"
} -> null
- space = "eab3d327-7d9f-423b-9838-753c26fdb5a0" -> null
- url = "https://ssb-solr-gsa-datagov-management.app.cloud.gov" -> null
- username = "77ad2d16-302d-19f7-b7f9-a2a2cc5560d4" -> null
}
# module.broker_solr.cloudfoundry_service_broker.space_scoped_broker["gsa-datagov/management"] will be destroyed
# (because cloudfoundry_service_broker.space_scoped_broker is not in configuration)
- resource "cloudfoundry_service_broker" "space_scoped_broker" {
- catalog_change = false -> null
- catalog_hash = "YVywS6YTvqZDBaaWSwyz5aShd-I=" -> null
- fail_when_catalog_not_accessible = false -> null
- id = "06ab8b17-9590-43e6-89f2-fe54bcaef416" -> null
- name = "ssb-solr-gsa-datagov-management" -> null
- password = (sensitive value)
- service_plans = {
- "solr-cloud/base" = "820bbbc9-ff8c-41f9-850e-456574356f54"
} -> null
- services = {
- "solr-cloud" = "635bdfd1-894c-4117-bcdd-d5962e28688e"
} -> null
- space = "9a1db116-0180-42be-8ffa-7944dcf6bf50" -> null
- url = "https://ssb-solr-gsa-datagov-management.app.cloud.gov" -> null
- username = "77ad2d16-302d-19f7-b7f9-a2a2cc5560d4" -> null
}
# module.broker_solr.cloudfoundry_service_broker.space_scoped_broker["gsa-datagov/prod"] will be destroyed
# (because cloudfoundry_service_broker.space_scoped_broker is not in configuration)
- resource "cloudfoundry_service_broker" "space_scoped_broker" {
- catalog_change = false -> null
- catalog_hash = "YVywS6YTvqZDBaaWSwyz5aShd-I=" -> null
- fail_when_catalog_not_accessible = false -> null
- id = "a4a9adf3-2d40-48e5-9b37-bf462fddd84e" -> null
- name = "ssb-solr-gsa-datagov-prod" -> null
- password = (sensitive value)
- service_plans = {
- "solr-cloud/base" = "8ab2d807-1249-4b54-9b95-c34f9f7dac01"
} -> null
- services = {
- "solr-cloud" = "65fa8a1c-98e4-4fce-8de4-5316247b2e1e"
} -> null
- space = "acbabadb-2604-4736-81f7-01288b0371c6" -> null
- url = "https://ssb-solr-gsa-datagov-management.app.cloud.gov" -> null
- username = "77ad2d16-302d-19f7-b7f9-a2a2cc5560d4" -> null
}
# module.broker_solr.cloudfoundry_service_broker.space_scoped_broker["gsa-datagov/staging"] will be destroyed
# (because cloudfoundry_service_broker.space_scoped_broker is not in configuration)
- resource "cloudfoundry_service_broker" "space_scoped_broker" {
- catalog_change = false -> null
- catalog_hash = "YVywS6YTvqZDBaaWSwyz5aShd-I=" -> null
- fail_when_catalog_not_accessible = false -> null
- id = "8bdf2e28-6a69-43fe-90e8-6ee4fdd55058" -> null
- name = "ssb-solr-gsa-datagov-staging" -> null
- password = (sensitive value)
- service_plans = {
- "solr-cloud/base" = "49618e87-fafc-481f-8da8-608682535bcf"
} -> null
- services = {
- "solr-cloud" = "9707c1f0-8e45-4af8-9845-c85be04fc5cb"
} -> null
- space = "3e692cdd-6d26-41ea-9698-04903dc3f742" -> null
- url = "https://ssb-solr-gsa-datagov-management.app.cloud.gov" -> null
- username = "77ad2d16-302d-19f7-b7f9-a2a2cc5560d4" -> null
}
# module.broker_solr.cloudfoundry_service_instance.db will be destroyed
# (because cloudfoundry_service_instance.db is not in configuration)
- resource "cloudfoundry_service_instance" "db" {
- id = "4c682b52-1f15-438d-9e4d-621a1d9c3e22" -> null
- name = "ssb-solr-db" -> null
- recursive_delete = false -> null
- replace_on_params_change = false -> null
- replace_on_service_plan_change = false -> null
- service_plan = "4b9e5bb1-d0d3-4c24-8542-e377cbb85aed" -> null
- space = "9a1db116-0180-42be-8ffa-7944dcf6bf50" -> null
- tags = [
- "mysql",
] -> null
- timeouts {
- create = "30m" -> null
- delete = "30m" -> null
- update = "30m" -> null
}
}
# module.broker_solr.random_password.client_password will be destroyed
# (because random_password.client_password is not in configuration)
- resource "random_password" "client_password" {
- id = "none" -> null
- length = 16 -> null
- lower = true -> null
- min_lower = 0 -> null
- min_numeric = 0 -> null
- min_special = 0 -> null
- min_upper = 0 -> null
- number = true -> null
- result = (sensitive value)
- special = true -> null
- upper = true -> null
}
# module.broker_solr.random_uuid.client_username will be destroyed
# (because random_uuid.client_username is not in configuration)
- resource "random_uuid" "client_username" {
- id = "77ad2d16-302d-19f7-b7f9-a2a2cc5560d4" -> null
- result = "77ad2d16-302d-19f7-b7f9-a2a2cc5560d4" -> null
}
# module.broker_solrcloud.cloudfoundry_app.ssb will be updated in-place
~ resource "cloudfoundry_app" "ssb" {
id = "69811529-c323-45f2-8f2e-6767ea6ea3cf"
~ id_bg = "************************************" -> (known after apply)
name = "ssb-solrcloud"
# (21 unchanged attributes hidden)
+ service_binding {
+ service_instance = (known after apply)
}
# (2 unchanged blocks hidden)
}
Plan: 1 to add, 2 to change, 9 to destroy. 📝 Plan generated in plan #242 |
FuhuXia
approved these changes
Aug 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related to