-
Notifications
You must be signed in to change notification settings - Fork 93
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
doc | ibmcloud: Inconsistency in default values for cos_service_instance_name
#21
Comments
@yoheiueda - you have more knowledge of terraform than me, so do you have an opinion on which option is best? |
cos_service_instance_name
@stevenhorsman I prefer changing the default value to I found the description of the default value cloud-api-adaptor/ibmcloud/README.md Line 202 in 471c0ba
But the terraform configuration files uses a
So, do we need to update the both files? |
@yoheiueda - thanks for the input. That matches what I'd expect. I think that we need to update to the doc as you said and add a new default into
and remove the logic in
BTW - I think Jonah is probably going to be looking at this issue soon. |
README requires change to manual running of ansible playbook as current command would not work because that playbook no longer exists.
needs to be
|
Updated README to reflect splitting of ansible playbook. Step now runs two new playbooks consecutively. Fixes #21 Signed-off-by: [Jonah-Farrow] <[email protected]>
issue accidentally closed by the wrong issue being labelled in the PR #37 commit, so re-opening. |
Completed work to have consistent variable names across documentation. /terraform/README now reflects COS variable name changes. README now has consistent expectations for COS instance and bucket names. Fixes #21 Signed-off-by: [Jonah-Farrow] <[email protected]>
Completed work to have consistent variable names across different Terraform templates. cos_bucket_name now set in terraform.tfvars and has no default as has to be unique. Removed cos_service_instance_name prefix. Set new default value. Fixes #21 Signed-off-by: [Jonah-Farrow] <[email protected]>
Closed with #29 merging |
Updated README to reflect splitting of ansible playbook. Step now runs two new playbooks consecutively. Fixes confidential-containers#21 Signed-off-by: [Jonah-Farrow] <[email protected]>
Completed work to have consistent variable names across documentation. /terraform/README now reflects COS variable name changes. README now has consistent expectations for COS instance and bucket names. Fixes confidential-containers#21 Signed-off-by: [Jonah-Farrow] <[email protected]>
Completed work to have consistent variable names across different Terraform templates. cos_bucket_name now set in terraform.tfvars and has no default as has to be unique. Removed cos_service_instance_name prefix. Set new default value. Fixes confidential-containers#21 Signed-off-by: [Jonah-Farrow] <[email protected]>
From #18 (comment):
We now have inconsistency in the default values of the
cos_service_instance_name
in the two sections it is used:This is not a good user experience, so we have a few choices:
cos-image-instance
. I don't think there is a requirement for the cos service instance name to be unique across users, so this should work<cluster_name>-cos-image-instance
. Unless there is a way to read thecluster_name
value from the cluster terraform.tfvars, I don't think this is a good solution, as there isn't another reason for cluster name to be required in the cos instance creation, so it's letting a user not supply one value by making them supply anotherThe text was updated successfully, but these errors were encountered: