https://pulumi.com logo
#typescript
Title
# typescript
a

astonishing-cartoon-37000

01/14/2020, 10:21 PM
Think I found an issue in
@pulumi/datadog
specifically
SyntheticsTest
class. Thread for more explaination.
When I create a Synthetics test say
Copy code
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
when I update url to something else say
<https://www.example2.com>
the next update does not pick up a change
Copy code
▶ 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
could be tf provider bug 🤷
updated to latest version, and tested on an isolated example above. Seems to be reproducible
g

gentle-diamond-70147

01/14/2020, 10:32 PM
Could you open an issue in https://github.com/pulumi/pulumi-datadog ?
👍 1
a

astonishing-cartoon-37000

01/14/2020, 10:36 PM