We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad68bda commit bbcc865Copy full SHA for bbcc865
ecs-cli/modules/clients/aws/ssm/client.go
@@ -24,7 +24,7 @@ import (
24
)
25
26
const (
27
- amazonLinuxRecommendedParameterName = "/aws/service/ecs/optimized-ami/amazon-linux/recommended"
+ amazonLinux2RecommendedParameterName = "/aws/service/ecs/optimized-ami/amazon-linux-2/recommended"
28
29
30
type AMIMetadata struct {
@@ -55,7 +55,7 @@ func NewSSMClient(commandConfig *config.CommandConfig) Client {
55
56
func (c *ssmClient) GetRecommendedECSLinuxAMI() (*AMIMetadata, error) {
57
response, err := c.client.GetParameter(&ssm.GetParameterInput{
58
- Name: aws.String(amazonLinuxRecommendedParameterName),
+ Name: aws.String(amazonLinux2RecommendedParameterName),
59
})
60
if err != nil {
61
return nil, err
0 commit comments