sparse-intern-71089
07/29/2019, 5:19 PMbetter-rainbow-14549
07/29/2019, 5:34 PMwhite-balloon-205
worried-engineer-33884
07/29/2019, 5:41 PMreplicationTaskSettings
property:
{
"Logging": {
"LoggingEnabled": true
}
}
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/dms/#ReplicationTaskArgs-replicationTaskSettings
The problem is that the default setting (which is kept in JSON format in AWS) contains a lot of default values, which get merged with the JSON document I submit to turn on logging. As a result, every time i pulumi up
it looks like the values have diverged, so i get an 'update' operation every time.
To copy all the default values into the JSON document I submit, with logging turned on of course, I need to know the task's ARN â one of the settings is CloudWatchLogStream
who's default value is "dms-task-<the ARN of the task>
.
I'm trying to figure out the best way to deal with this. Any ideas?white-balloon-205
refresh
and then hard-coding in the resulting value. This makes it a little harder to stand up from scratch correctly, but provides a way to close the loop for an existing deployment.
You can also consider using ignoreChanges
to ignore any perceived changes in these settings.worried-engineer-33884
07/29/2019, 6:01 PMworried-engineer-33884
07/29/2019, 6:02 PMworried-engineer-33884
07/30/2019, 3:25 PMignoreChanges
doesn't seem to be working for replicationTaskSettings. It continues to see a diff and wants to update.worried-engineer-33884
07/30/2019, 3:58 PMwhite-balloon-205
worried-engineer-33884
07/30/2019, 4:52 PMignoreChanges: ["replicationTaskSettings"]
to the aws.dms.ReplicationTask resource.
I wrote a custom resource to take care of the settings and manage the diff properly, but it's not fixing the problem since ignoreChanges isn't working and ReplicationTask continues to want to re-write the settings value.worried-engineer-33884
08/01/2019, 2:24 PMworried-engineer-33884
08/01/2019, 2:30 PMwhite-balloon-205
How do i peg my npm dependency to pulumi masterYou can use
"@pulumi/pulumi": "dev"
to pin to the dev tag which is the latest master
build.worried-engineer-33884
08/01/2019, 5:12 PMworried-engineer-33884
08/01/2019, 5:14 PMwhite-balloon-205
ignoreChanges
need to be brought into providers as well before you'll see a change. I think that is still in progress. Which provider in particular are you interested in?worried-engineer-33884
08/01/2019, 5:32 PMwhite-balloon-205
worried-engineer-33884
08/01/2019, 5:49 PMworried-engineer-33884
08/02/2019, 9:21 PMworried-engineer-33884
08/02/2019, 9:22 PM