https://pulumi.com logo
Title
p

powerful-art-3002

03/16/2021, 9:03 AM
Hello, I have a question how to register servicediscovery instance ?
apis = aws.servicediscovery.Service(
    "apis",
    name="apis",
    dns_config=aws.servicediscovery.ServiceDnsConfigArgs(
        dns_records=[aws.servicediscovery.ServiceDnsConfigDnsRecordArgs(
            ttl=300,
            type="CNAME",
        )],
        routing_policy="WEIGHTED",
        namespace_id=cloud_map_space.id,
    ), opts=pulumi.ResourceOptions(protect=True))
the question is about how can I register instance of this service during the deployment?