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

v3: helper for finding instance types #681

Conversation

tgrondier
Copy link
Member

@tgrondier tgrondier commented Feb 25, 2025

Description

Code generated by egoscale for FindInstanceType only allows finding by id. We allow users to specify a string of the form {{InstanceType.Family}}.{{InstanceType.Size}} for instance types; as this is a unique case, rather that complexify the rendering template, we add a small different helper that allows for this.

Already exists in terraform-provider-exoscale as a helper, which should be removed

Checklist

(For exoscale contributors)

  • Changelog updated (under Unreleased block)
  • For a new resource or new attributes: test added/updated

@tgrondier tgrondier merged commit 1df0ee4 into master Feb 27, 2025
5 checks passed
@tgrondier tgrondier deleted the tgrondier/sc-121845/egoscale-create-helper-for-finding-instance branch February 27, 2025 12:56
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.

3 participants