Neither of the two options below is working for me:
$SetMinSizeResponse = Update-EBEnvironment -Region $deploy_aws_region_name -ApplicationName "xd-datastore" -EnvironmentName $inactive_environment -option-settings-file://~/./MinAndMaxSettings.json
$SetMaxSizeResponse = Update-EBEnvironment -Region $deploy_aws_region_name -ApplicationName "xd-datastore" -EnvironmentName $inactive_environment -OptionSetting.Namespace 'aws:autoscaling:asg' -Optionsetting.OptionName 'MaxSize' -OptionSetting.ResourceName 'AWSEBAutoScalingGroup' -OptionSetting.Value '4'
Error message I see is:
Update-EBEnvironment : A parameter cannot be found that matches parameter name 'option-settings-file'. At C:\Vin CVAD on new machine\New Reduce Instances TC Pipeline\RunningReduceInstances.ps1:91 char:149
~~~~~~~~~~~~~~~~~~~~~~
You are not logged in. Log in to post an answer.
A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.