Hello Team, I am trying to add EFS DNS name to the...
# python
a
Hello Team, I am trying to add EFS DNS name to the parameter store but The value of the parameter store is registering as Pulumi object. Is there any way we can register actual dns name (str) instead pulumi object?
Copy code
efsFileSys = aws.efs.FileSystem( 
    resource_name=stackname+'-'+'efs',
    args=aws.efs.FileSystemArgs(
        encrypted='true',
        kms_key_id='<kms-arn>',
        performance_mode="maxIO",
        tags={
                "Name": stackname + '-' + 'fs'
            },
    )
)

efsParame=aws.ssm.Parameter(
    str(stackname)+'-'+'efs_parameter',
    type='String',
    name="efs_parameter",
    value=str(efsFileSys.dns_name),
)
Output
Copy code
Parameter store value: 	<pulumi.output.Output object at 0x10xxxx>
g
Pulumi Outputs return as objects unless you apply them (because they're getting generated async at runtime). See if this page helps explain it a bit: https://www.pulumi.com/docs/intro/concepts/inputs-outputs/