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

Amazon CloudWatch Synthetics support for environment variables #19733

Closed
anilkumarkodali opened this issue Jun 9, 2021 · 2 comments
Closed
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/synthetics Issues and PRs that pertain to the synthetics service.

Comments

@anilkumarkodali
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

CloudWatch Synthetics now supports the use of environment variables with canaries. This allows you to save time by using a single canary script to create different canaries that have a similar task.

This provider is not updated to support that feature yet and hence creating this request to start supporting it.

New or Affected Resource(s)

  • aws_synthetics_canary

Potential Terraform Configuration

Elem: &schema.Resource{
	Schema: map[string]*schema.Schema{
		"active_tracing": {
			Type:     schema.TypeBool,
			Optional: true,
		},
		"memory_in_mb": {
			Type:     schema.TypeInt,
			Optional: true,
			Computed: true,
			ValidateFunc: validation.All(
				validation.IntDivisibleBy(64),
				validation.IntAtLeast(960),
			),
		},
		"timeout_in_seconds": {
			Type:         schema.TypeInt,
			Optional:     true,
			ValidateFunc: validation.IntBetween(3, 14*60),
			Default:      840,
		},
		"environment_variables": {
			Type:     schema.TypeMap,
			Computed: true,
			Elem:     &schema.Schema{Type: schema.TypeString},
		},
	},
},

References

  • #0000
@anilkumarkodali anilkumarkodali added the enhancement Requests to existing resources that expand the functionality or scope. label Jun 9, 2021
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/synthetics Issues and PRs that pertain to the synthetics service. labels Jun 9, 2021
@anGie44 anGie44 removed the needs-triage Waiting for first response or review from a maintainer. label Jun 9, 2021
@ewbankkit
Copy link
Contributor

@anilkumarkodali Thanks for raising this issue.
It has already been noticed in #17948. I'm going to close this one as a duplicate so that we can concentrate discussion in the linked issue.
Please add any additional comments there.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/synthetics Issues and PRs that pertain to the synthetics service.
Projects
None yet
Development

No branches or pull requests

3 participants