You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parameters that are removed from json template do not get removed from an updated parameter file.
to recreate:
run cf_parameter_generator cf_parameter_generator -f input.json -o output.json
edit input.json to change the name of a pre-existing parameter "ELBListenersLoadBalancerPort": { "Description": "Specifies the external load balancer port number", "Type": "String" },
changes to:
"ELBListenersLoadBalancerPortHTTP": { "Description": "Specifies the external load balancer port number for HTTP connections", "Type": "String" },
when you were looking for this: { "ParameterKey": "ELBListenersLoadBalancerPortHTTP", "ParameterValue": "Type: String" }, { "ParameterKey": "ELBListenersLoadBalancerPortHTTPS", "ParameterValue": "Type: String" },
The text was updated successfully, but these errors were encountered:
If you include -r it will remove old entries. But your comments make me think about the case where someone renames something. It would be better to rename the parameter as well, but that's harder to detect. I'll think about this and ways that it can be detected and updated.
parameters that are removed from json template do not get removed from an updated parameter file.
to recreate:
run cf_parameter_generator
cf_parameter_generator -f input.json -o output.json
edit input.json to change the name of a pre-existing parameter
"ELBListenersLoadBalancerPort": { "Description": "Specifies the external load balancer port number", "Type": "String" },
changes to:
"ELBListenersLoadBalancerPortHTTP": { "Description": "Specifies the external load balancer port number for HTTP connections", "Type": "String" },
re-run cf_parameter_generator:
cf_parameter_generator -f input.json -o output.json
view output.json and you'll find this:
{ "ParameterKey": "ELBListenersLoadBalancerPort", "ParameterValue": "80" }, { "ParameterKey": "ELBListenersLoadBalancerPortHTTP", "ParameterValue": "Type: String" }, { "ParameterKey": "ELBListenersLoadBalancerPortHTTPS", "ParameterValue": "Type: String" },
when you were looking for this:
{ "ParameterKey": "ELBListenersLoadBalancerPortHTTP", "ParameterValue": "Type: String" }, { "ParameterKey": "ELBListenersLoadBalancerPortHTTPS", "ParameterValue": "Type: String" },
The text was updated successfully, but these errors were encountered: