Skip to content

Commit

Permalink
SCALRCORE-19437 bump go-scalr.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaniakov committed Jul 29, 2021
1 parent d242e16 commit 882239d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,13 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.0.0-rc19] - <fill the date here>
### Added

- **New data source:** `scalr_role` ([#69](https://github.com/Scalr/terraform-provider-scalr/pull/69))
- **New data source:** `scalr_access_policy` ([#69](https://github.com/Scalr/terraform-provider-scalr/pull/69))
- **New resource:** `scalr_role` ([#69](https://github.com/Scalr/terraform-provider-scalr/pull/69))
- **New resource:** `scalr_access_policy` ([#69](https://github.com/Scalr/terraform-provider-scalr/pull/69))

### Required

- scalr server >= `8.0.1-beta.20210720`

## [1.0.0-rc18] - 2021-07-22
### Changed

Expand Down
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -70,6 +70,12 @@ Remember to remove this link before committing:
```sh
go mod edit -dropreplace github.com/scalr/go-scalr
```

To update the go-scalr version:
```sh
go get github.com/scalr/go-scalr@develop
```

### Testing
#### Unit tests
```sh
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -8,7 +8,7 @@ require (
github.com/hashicorp/terraform v0.12.0
github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/scalr/go-scalr v0.0.0-20210723170605-e2860f00aea6
github.com/scalr/go-scalr v0.0.0-20210723172742-f561931322c0
)

go 1.13
2 changes: 2 additions & 0 deletions go.sum
Expand Up @@ -333,6 +333,8 @@ github.com/scalr/go-scalr v0.0.0-20210707121246-c8ac98a29435 h1:uDCiMP8FjeWzLPbR
github.com/scalr/go-scalr v0.0.0-20210707121246-c8ac98a29435/go.mod h1:n2HQ6QxqyTySiSFTOpAL18SjCKtP+xUskMygO0KuuQU=
github.com/scalr/go-scalr v0.0.0-20210723170605-e2860f00aea6 h1:53n0c4wFLnhA4YuALdK7GRixBJlVF+pQ7U1TCQV46/0=
github.com/scalr/go-scalr v0.0.0-20210723170605-e2860f00aea6/go.mod h1:n2HQ6QxqyTySiSFTOpAL18SjCKtP+xUskMygO0KuuQU=
github.com/scalr/go-scalr v0.0.0-20210723172742-f561931322c0 h1:J4SPP/S1bvRFAgzAlYrAxeJDfUBnVarAU6eXwf5PWOU=
github.com/scalr/go-scalr v0.0.0-20210723172742-f561931322c0/go.mod h1:n2HQ6QxqyTySiSFTOpAL18SjCKtP+xUskMygO0KuuQU=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
Expand Down
22 changes: 11 additions & 11 deletions scalr/provider.go
Expand Up @@ -63,22 +63,22 @@ func Provider() terraform.ResourceProvider {
},

DataSourcesMap: map[string]*schema.Resource{
"scalr_workspace": dataSourceScalrWorkspace(),
"scalr_workspace_ids": dataSourceScalrWorkspaceIDs(),
"scalr_current_run": dataSourceScalrCurrentRun(),
"scalr_endpoint": dataSourceScalrEndpoint(),
"scalr_webhook": dataSourceScalrWebhook(),
"scalr_environment": dataSourceScalrEnvironment(),
"scalr_workspace": dataSourceScalrWorkspace(),
"scalr_workspace_ids": dataSourceScalrWorkspaceIDs(),
"scalr_current_run": dataSourceScalrCurrentRun(),
"scalr_endpoint": dataSourceScalrEndpoint(),
"scalr_webhook": dataSourceScalrWebhook(),
"scalr_environment": dataSourceScalrEnvironment(),
"scalr_role": dataSourceScalrRole(),
"scalr_access_policy": dataSourceScalrAccessPolicy(),
},

ResourcesMap: map[string]*schema.Resource{
"scalr_workspace": resourceScalrWorkspace(),
"scalr_variable": resourceScalrVariable(),
"scalr_endpoint": resourceScalrEndpoint(),
"scalr_webhook": resourceScalrWebhook(),
"scalr_environment": resourceScalrEnvironment(),
"scalr_workspace": resourceScalrWorkspace(),
"scalr_variable": resourceScalrVariable(),
"scalr_endpoint": resourceScalrEndpoint(),
"scalr_webhook": resourceScalrWebhook(),
"scalr_environment": resourceScalrEnvironment(),
"scalr_role": resourceScalrRole(),
"scalr_access_policy": resourceScalrAccessPolicy(),
},
Expand Down

0 comments on commit 882239d

Please sign in to comment.