Closed davinchia closed 2 years ago
@davinchia when I run terraform plan
with a topic name of a.b/some-topic-name
, the plan still succeeds. Were you only seeing errors once the plan was applied?
I was seeing errors during the plan as well. Here's the specific error: https://github.com/LiveRamp/api-specs/pull/318#issuecomment-700881252
Oh, maybe this is due to the older terraform version (terraform0.12.20 in the linked comment). I think I'd rather update atlantis.yaml with a higher terraform version to see if that fixes the problem, before changing reslang output (since that would nuke + recreate infrastructure). I'll report back!
Perhaps. Didn't look too much into this - can help out if needed. Just lmk on slack! Thanks!
@davinchia now that api-specs has terraform 0.12.29, would you mind checking if atlantis still runs into the same error on the auto-generated plan for topic names?
If the problem persists, we'll either need to update to terraform 13, or change the Reslang code
Reslang currently generated topic names with
.
in them.Although this is pubsub compatible, this is not terraform compatible and causes errors.