Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Updating the pipeline gives an error about missing OAuth token #9

Open
yoshutch opened this issue Jan 9, 2020 · 4 comments
Open

Updating the pipeline gives an error about missing OAuth token #9

yoshutch opened this issue Jan 9, 2020 · 4 comments

Comments

@yoshutch
Copy link
Contributor

yoshutch commented Jan 9, 2020

Due to an issue in the terraform aws-providers, I can't seem to run a terraform apply after the initial apply. I get an error saying that the "Source" stage requires an "OAuth" token, which hasn't changed.

The ignore lifecycle block doesn't appear to be ignoring it either. So I'm not sure how we can fix this.

@jvisker
Copy link

jvisker commented Feb 3, 2020

I haven't seen this issue. I thought the ignore block had fixed this.

@paulo-space-walker
Copy link

paulo-space-walker commented Apr 21, 2020

Worked for me with: ignore_changes = [stage[0].action[0].configuration.OAuthToken]
version: 12.24 (mac)

@ndench
Copy link

ndench commented May 28, 2020

@paulo-space-walker can you post your output of terraform -v?
I've got 0.12.25 and your solution doesn't work for me. Maybe we have different versions of the aws provider?

My output:

Terraform v0.12.25
+ provider.archive v1.3.0
+ provider.aws v2.33.0
+ provider.null v2.1.2

@paulo-space-walker
Copy link

Here is:
Terraform v0.12.24

  • provider.aws v2.60.0

Probably aws provider is the culprit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants