I have python script where in I have passed instances id of aws instances in hard code format I want to pass this value in terraform variables file and make it more dynamic so how can I do this can anyone please help me on this
import boto3
client = boto3.client(‘ssm’)
client.send_command(
InstanceIds=[
‘xxxxx’,
],
New contributor
Vivek Kothawale is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1