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

bug: Environment Variable cannot be set for checks #51

Open
Obi-Dann opened this issue Oct 9, 2023 · 0 comments
Open

bug: Environment Variable cannot be set for checks #51

Obi-Dann opened this issue Oct 9, 2023 · 0 comments
Labels
type: bug Something isn't working

Comments

@Obi-Dann
Copy link

Obi-Dann commented Oct 9, 2023

Pulumi version

3.65.1

Provider version

1.1.4

Steps to reproduce

Getting deprecated error message when trying to set environment_variables on checks, suggesting to use environment_variable. However, environment_variable does not exist on objects in pulumi provider.

/**
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
* Use global environment variables whenever possible.
*
* @deprecated The property `environment_variables` is deprecated and will be removed in a future version. Consider using the new `environment_variable` list.
*/
public readonly environmentVariables!: pulumi.Output<{[key: string]: any} | undefined>;

environment_variable does exist in Terraform provider though https://github.com/checkly/terraform-provider-checkly/blob/2538b815df51379677e67be6246f748fecd68206/checkly/resource_check.go#L127C5-L148

This issue makes it impossible to create browser checks in Pulumi per environment

What is expected?

environment_variable should exist on Checks

What is actually happening?

environment_variable does not exist on Checks

System Info

No response

Any additional comments?

No response

@Obi-Dann Obi-Dann added the type: bug Something isn't working label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant