sparse-intern-71089
11/20/2018, 12:09 PMwhite-balloon-205
replicationGroupId
as a "name" property so that it gets autonamed.
Second, once https://github.com/pulumi/pulumi/issues/1620 is available (work in progress right now), you would have the option to add deleteBeforeCreate
here to unblock.
Third, and probably best right now - use the @pulumi/random
package to create your own random id:
let id = new random.RandomId('myid');
let storeGroup = new aws.elasticache.ReplicationGroup(storeGroupName, {
replicationGroupId: id,
});
That random ID will be generated once and stored in the checkpoint file between updates so that it will be the same across deployments of this stack, but different across different stacks.cold-coat-35200
11/20/2018, 4:18 PMwhite-balloon-205
cold-coat-35200
11/20/2018, 4:27 PMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by