Skip to content

Commit

Permalink
SCALRCORE 33232 Provider > Resource scalr_policy_group with envs > co…
Browse files Browse the repository at this point in the history
…nstant drift of envs (#373)

* SCALRCORE-32232 `data.scalr_environments`: changed type of `ids` attribute from TypeList to TypeSet

* SCALRCORE-32232 update changelog

* SCALRCORE-32232 update changelog
  • Loading branch information
RomanMytsko authored Dec 11, 2024
1 parent e432401 commit 92e388f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- `data.scalr_environments`: changed type of `ids` attribute from TypeList to TypeSet ([373](https://github.com/Scalr/terraform-provider-scalr/pull/373))

## [2.2.0] - 2024-11-22

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ data "scalr_environments" "all" {
### Read-Only

- `id` (String) The ID of this resource.
- `ids` (List of String) The list of environment IDs, in the format [`env-xxxxxxxxxxx`, `env-yyyyyyyyy`].
- `ids` (Set of String) The list of environment IDs, in the format [`env-xxxxxxxxxxx`, `env-yyyyyyyyy`].
2 changes: 1 addition & 1 deletion scalr/data_source_scalr_environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func dataSourceScalrEnvironments() *schema.Resource {
},
"ids": {
Description: "The list of environment IDs, in the format [`env-xxxxxxxxxxx`, `env-yyyyyyyyy`].",
Type: schema.TypeList,
Type: schema.TypeSet,
Elem: &schema.Schema{Type: schema.TypeString},
Computed: true,
},
Expand Down

0 comments on commit 92e388f

Please sign in to comment.