Skip to content
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

Stage3 stage_config var conflict #2980

Open
1 of 4 tasks
c-jason-kim opened this issue Mar 21, 2025 · 2 comments
Open
1 of 4 tasks

Stage3 stage_config var conflict #2980

c-jason-kim opened this issue Mar 21, 2025 · 2 comments

Comments

@c-jason-kim
Copy link
Contributor

Affected components

  • Fabric modules
  • FAST
  • Blueprints
  • Other

The problem

I'm trying to create my own stage3 config using 3-gke-dev and 3-gcve-dev as examples. It seems that the stage_config variable defined in the stage3 configs conflicts with the stage_config variable defined by the resman stage, am I missing something?

The variable.tf file in the stage3 config defines it as an object with "name" and "environment", while the resman stage outputs a list of objects.

Note I haven't actually run the gcve or gke stages, so I apologize for the lack of confirmation with the existing code.

Release version

v38.0.0

Terraform version

v1.11.2

Steps to reproduce

Run terraform plan on a stage3 config

Expected behavior

Successful run

Actual behavior

Error:
Error: Invalid value for input variable
The given value is not suitable for var.stage_config declared at variables.tf:15,1-24: attributes "environment" and "name" are required.

Additional context

No response

@ludoo
Copy link
Collaborator

ludoo commented Mar 22, 2025

Yes, that piece of interface is slightly in flux at the moment. Thanks for raising this, we'll fix it as soon as possible.

@c-jason-kim
Copy link
Contributor Author

Great, glad to see I'm not crazy. For the record I simply renamed the variable to my_stage_config for the time being.

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

No branches or pull requests

2 participants