Skip to content

Tofu: Add x86_64 #1102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Tofu: Add x86_64 #1102

wants to merge 2 commits into from

Conversation

ravanelli
Copy link
Member

No description provided.

@ravanelli ravanelli requested a review from dustymabe March 13, 2025 15:21
@ravanelli ravanelli requested review from jlebon and jbtrystram April 1, 2025 18:06
…onfig

- Sync the x86_64 Butane config with the existing aarch64 configuration.
- This change eliminates the need for a special tofu-related modification,
as tofu already handles the merge automatically.

Signed-off-by: Renata Ravanelli <[email protected]>
    - Although duplicating code isn't ideal, tofu doesn't support managing resource
      names and global variables values using variables as declaration very well.
      For example:
         We can not do:
             variable "project" {
               type    = string
               default = "coreos-${var.arch}-builder"
             }
      What creates limitation to merge aarch64 and x86_64.
    - As a result, add x86_64 now
    - The goal is to find an efficient way to merge both architectures in the
      future, since it shares the same code.

Signed-off-by: Renata Ravanelli <[email protected]>
@dustymabe
Copy link
Member

I'd really like to get a day or two to sit down and resolve this with #986 and test everything out again.

One day!

@ravanelli
Copy link
Member Author

I'd really like to get a day or two to sit down and resolve this with #986 and test everything out again.

One day!

aaa I didn't see we had this!

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

Successfully merging this pull request may close these issues.

2 participants