generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update resource name to hcp_packer_channel
``` ~> make testacc TESTARGS='-run=TestAccPackerChannel' ==> Checking that code complies with gofmt requirements... golangci-lint run --config ./golangci-config.yml TF_ACC=1 go test ./internal/... -v -run=TestAccPackerChannel -timeout 210m testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-hcp/internal/clients 0.182s [no tests to run] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-hcp/internal/consul 0.194s [no tests to run] testing: warning: no tests to run PASS ok github.com/hashicorp/terraform-provider-hcp/internal/input 0.199s [no tests to run] === RUN TestAccPackerChannel --- PASS: TestAccPackerChannel (9.19s) === RUN TestAccPackerChannel_AssignedIteration --- PASS: TestAccPackerChannel_AssignedIteration (8.00s) === RUN TestAccPackerChannel_UpdateAssignedIteration --- PASS: TestAccPackerChannel_UpdateAssignedIteration (12.91s) PASS ok github.com/hashicorp/terraform-provider-hcp/internal/provider 30.382s ```
- Loading branch information
Showing
9 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
```release-note:feature | ||
New resource `hcp_packer_bucket_channel` | ||
New resource `hcp_packer_channel` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...urces/hcp_packer_bucket_channel/import.sh → ...es/resources/hcp_packer_channel/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# The import ID requires the bucket and channel name in the following format {bucket_name}:{name} | ||
terraform import hcp_packer_bucket_channel.staging alping:staging | ||
terraform import hcp_packer_channel.staging alpine:staging |
2 changes: 1 addition & 1 deletion
2
...ces/hcp_packer_bucket_channel/resource.tf → .../resources/hcp_packer_channel/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
resource "hcp_packer_bucket_channel" "staging" { | ||
resource "hcp_packer_channel" "staging" { | ||
name = "staging" | ||
bucket_name = "alpine" | ||
} |
2 changes: 1 addition & 1 deletion
2
...ker_bucket_channel/resource_assignment.tf → ...hcp_packer_channel/resource_assignment.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters