Opensearch cluster setup

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

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…

Configuration:
path:
logs: /var/log/opensearch
data: /opt/nuvola/data/opensearch/data
cluster.name: a203836-osospoc-pstes-main-ci
#cloud.aws.region: 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
node.name: i-060012d4e764afdd2
node.roles: [master]
network.host: [“127.0.0.1”, “eth0”]
bootstrap.memory_lock: true

Relevant Logs or Screenshots: