astonishing-cartoon-37000
01/14/2020, 10:21 PM@pulumi/datadog
specifically SyntheticsTest
class. Thread for more explaination.import * as dd from '@pulumi/datadog'
new dd.SyntheticsTest(
'test',
{
locations: ['aws:eu-central-1', 'aws:eu-west-1'],
name: 'test',
request: {
method: 'GET',
url: '<https://www.example.com>'
},
assertions: [
{
type: 'statusCode',
operator: 'is',
target: 500
}
],
options: { tickEvery: 60 },
message: 'test message',
status: 'live',
type: 'api',
tags: ['example']
},
{}
)
it creates, everything is good<https://www.example2.com>
the next update does not pick up a change▶ pulumi up
Previewing update (asdfasdf):
Type Name Plan
pulumi:pulumi:Stack Examples-asdfasdf
Resources:
2 unchanged
Do you want to perform this update? no
confirmation declined, not proceeding with the update
gentle-diamond-70147
01/14/2020, 10:32 PMastonishing-cartoon-37000
01/14/2020, 10:36 PM