Skip to content

Pipeline trigger is always updated due to "id" field #48

@max-rocket-internet

Description

@max-rocket-internet

I have a pipeline with a trigger that looks like this:

  "triggers": [
    {
      "cronExpression": "0 3 14 ? * SUN *",
      "enabled": false,
      "type": "cron"
    }
  ],

But when the trigger is created it is assigned an id and looks like this in Spinnaker:

  "triggers": [
    {
      "cronExpression": "0 3 14 ? * SUN *",
      "enabled": false,
      "id": "bcd48c7f-36e4-4c4a-870d-deb95d4e963a",
      "type": "cron"
    }
  ],

Then terraform removes the id key on every apply. Is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions