millions-umbrella-34765
06/16/2023, 6:06 PMconst snowflakeS3PolicyAttachment = new aws.iam.PolicyAttachment(
`sg-snowflake-s3-handshake-log-access-policy-attach-${envName}`,
{
roles: [snowflakeS3AccessRole],
policyArn: snowflakeS3Policy.arn
}
);
but how do I refer to the existing attachments for the {import: "????"}
statement? I'm not aware of a name or ARN to refer to the attachmentmillions-umbrella-34765
06/16/2023, 6:17 PMup
I thought it might create an additional attachment but it did not. So it's smart enough to handle the situation with an import on the attachment code.