I am trying to write a makefile command for the parameters being used in CFT. But its giving error.
This is my parameter in CFT
"ecsPolicies": {
"Type": "String",
"Default": "ecr:GetAuthorizationToken,ecr:BatchCheckLayerAvailability,ecr:GetDownloadUrlForLayer,ecr:BatchGetImage,logs:CreateLogStream,logs:PutLogEvents,ecs:RunTask,iam:PassRole"
},
this is makefile command which I am using
ParameterKey=ecsPolicies,ParameterValue='ecr:GetAuthorizationToken,ecr:BatchCheckLayerAvailability,ecr:GetDownloadUrlForLayer,ecr:BatchGetImage,logs:CreateLogStream,logs:PutLogEvents,ecs:RunTask,iam:PassRole'
Its throwing error as
Invalid type for parameter Parameters[19].ParameterValue, value: ['ecr:GetAuthorizationToken', 'ecr:BatchCheckLayerAvailability', 'ecr:GetDownloadUrlForLayer', 'ecr:BatchGetImage', 'logs:CreateLogStream', 'logs:PutLogEvents', 'ecs:RunTask', 'iam:PassRole'], type: <class 'list'>, valid types: <class 'str'>
Please provide a possible solution!!
Thank you