brave-angle-33257
09/11/2019, 6:27 PMignoreChanges
path - if there is documentation on this somewhere I’m having trouble finding it, this is the best I’ve found so far: https://github.com/pulumi/pulumi/pull/3005/files/8a4b20b05ec9c4ceb1535d90ddb350319655a8c3#diff-7bb15b0066584f354ca6a55865d99ffeR29// groups
var regional_groups_table_name = `${company}-${env}-groups`;
var regional_groups_table = new aws.dynamodb.Table(regional_groups_table_name, {
name: regional_groups_table_name,
hashKey: 'id',
streamEnabled: true,
streamViewType: 'NEW_AND_OLD_IMAGES',
readCapacity: 1,
writeCapacity: 1,
attributes:[{
name: 'id',
type: 'S'
},{
name: 'name',
type: 'S'
}],
globalSecondaryIndexes:[{
name: `${regional_groups_table_name}-gsi-name`,
hashKey: 'name',
projectionType: 'KEYS_ONLY',
readCapacity: 1,
writeCapacity: 1
}]
},{
ignoreChanges: [
'.writeCapacity',
'.globalSecondaryIndexes.writeCapacity'
]
});
ignoreChanges: [
'.writeCapacity',
'.globalSecondaryIndexes[0].writeCapacity',
'.globalSecondaryIndexes[1].writeCapacity'
]