github_actions_assume_role_policy lifecycle error: Data resources do not have lifecycle settings, so a lifecycle block is not allowed #796
Replies: 3 comments 5 replies
-
Hey @swbmindcycle , It looks like the root cause of the issue that you're experiencing is that you're using an older version of Terraform than 1.2. Is that the case? It looks like that lifecycle block was introduced in the release of v0.69.0 This is called out in the release notes:
|
Beta Was this translation helpful? Give feedback.
-
From @swbmindcycle in Slack: Thanks for that, Yousif |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Anyone else experience this while upgrading modules in the reference architecture?
This is the key, but this is nowhere in my modules, so is clearly a deeply buried dependency:
Tracked in ticket #110681
Beta Was this translation helpful? Give feedback.
All reactions