Opensearch cluster setup

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:
Trying to setup cluster on AWS ec2 instances. Where cluster ips will get created dynamically.
So, could you please guide us how to setup cluster with use of discovery-ec2 plugin.
And what are all configs needs to be defined on opensearch.yml file.

So far we tried with below configs, but cluster not formed…

logs: /var/log/opensearch
data: /opt/nuvola/data/opensearch/data a203836-osospoc-pstes-main-ci us-east-1
#discovery-ec2 plugin can automatically set the aws_availability_zone node attribute to the availability zone of each node.
#This node attribute allows you to ensure that each shard has copies allocated redundantly across multiple availability zones by using the Allocation Awareness feature
cloud.node.auto_attributes: true
cluster.routing.allocation.awareness.attributes: aws_availability_zone
discovery.seed_providers: ec2
discovery.ec2.tag.Name: ospoc i-060012d4e764afdd2
node.roles: [master] [“”, “eth0”]
bootstrap.memory_lock: true

Relevant Logs or Screenshots: