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

CloudSearch Domain Resource Support #17723

Merged
merged 50 commits into from
Jan 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
7b36342
first stab at CloudSearch support
Feb 18, 2021
0d0a23e
adding test sweeper
Feb 19, 2021
ba50fc3
implementing full CloudSearch domain resource support
Feb 19, 2021
b311b8d
adding documentation
Feb 19, 2021
f2436a4
updating tests with `analysis_scheme` restriction
Feb 19, 2021
cbd3682
delinting Markdown
Feb 19, 2021
f28d612
delinting Golang
Feb 19, 2021
6de4e19
converting tabs to spaces for terrafmt
Feb 19, 2021
5fa2b64
adding check destroys
Feb 19, 2021
ddd9fb4
delinting Golang code
Feb 19, 2021
4555598
formatting Terraform
Feb 19, 2021
7a1b268
delinting Golang code
Feb 20, 2021
bbaea04
readding test steps
Feb 20, 2021
7cbb8fd
cleaning up Markdown file
Mar 30, 2021
f532d7a
adding a skeleton for an error check, just to see if I can get moveme…
Mar 30, 2021
d524a5b
fixing typo
Mar 30, 2021
9a0d20f
formatting Gocode
Mar 30, 2021
72becc6
Update website/docs/r/cloudsearch_domain.html.markdown
celestialorb Apr 21, 2021
7ca3ad4
Update cloudsearch_domain.html.markdown
celestialorb Apr 21, 2021
1961ec6
Probe...
ewbankkit Dec 8, 2021
79cb0a4
Move r/aws_cloudsearch_domain to internal service package.
ewbankkit Dec 8, 2021
192fde3
Add CloudSearch service pcakage README.
ewbankkit Dec 8, 2021
d2a75c8
r/aws_cloudsearch_domain: First compiling version after service packa…
ewbankkit Dec 8, 2021
fb107a0
Add 'aws_cloudsearch_domain' to supported resources.
ewbankkit Dec 8, 2021
2a44f39
r/aws_cloudsearch_domain: Sweeper.
ewbankkit Dec 8, 2021
7356497
Fix semgrep error: prefer-aws-go-sdk-pointer-conversion-conditional.
ewbankkit Dec 8, 2021
fdfcc9e
Add CHANGELOG entry.
ewbankkit Dec 8, 2021
9c88a14
First passing acceptance test:
ewbankkit Dec 8, 2021
3a1a8d9
Intermediate commit - New and renamed attributes.
ewbankkit Dec 9, 2021
570d65d
r/aws_cloudsearch_domain: Wait on domain creation and deletion.
ewbankkit Dec 10, 2021
a019e26
r/aws_cloudsearch_domain: Modify 'TestAccCloudSearchDomain_basic' and…
ewbankkit Dec 13, 2021
9c3227b
r/aws_cloudsearch_domain_service_access_policy: New resource.
ewbankkit Dec 13, 2021
10a63c9
go fmt.
ewbankkit Dec 13, 2021
9512c35
Fix 'domainName declared but not used'.
ewbankkit Dec 13, 2021
317eb16
Remove 'access_policies' from CloudSearch domain resource documentation.
ewbankkit Dec 13, 2021
ac76fbe
Add 'TestAccCloudSearchDomainServiceAccessPolicy_basic'.
ewbankkit Dec 13, 2021
adedcd4
r/aws_cloudsearch_domain_service_access_policy: Acceptance test acces…
ewbankkit Dec 14, 2021
07f9696
r/aws_cloudsearch_domain_service_access_policy: Increase timeouts (an…
ewbankkit Dec 14, 2021
d2600c2
Tidy up 'resourceCloudSearchDomainUpdate'.
ewbankkit Dec 16, 2021
b96d83b
DocService and SearchService are often not set immediately after the …
ewbankkit Dec 17, 2021
930d392
Increase default Create and Update timeouts to account for re-indexing.
ewbankkit Dec 17, 2021
2d03068
r/aws_cloudsearch_domain: Add 'expandIndexField'.
ewbankkit Jan 18, 2022
25beea6
r/aws_cloudsearch_domain: Add 'flattenIndexFieldStatuses'.
ewbankkit Jan 18, 2022
318d10d
r/aws_cloudsearch_domain: Index field functionality.
ewbankkit Jan 19, 2022
85e6cf0
r/aws_cloudsearch_domain: Test index field updates.
ewbankkit Jan 19, 2022
a6ad061
r/aws_cloudsearch_domain_service_access_policy: Fix terrafmt errors.
ewbankkit Jan 19, 2022
76a8586
r/aws_cloudsearch_domain: Add 'TestAccCloudSearchDomain_update'.
ewbankkit Jan 19, 2022
ad3a0c4
Fix golangci-lint 'unparam' errors.
ewbankkit Jan 19, 2022
e23870b
r/aws_cloudsearch_domain: Do updates in 'TestAccCloudSearchDomain_upd…
ewbankkit Jan 19, 2022
4c1e261
Update documentation for 'index_field'.
ewbankkit Jan 19, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changelog/17723.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:new-resource
aws_cloudsearch_domain
```

```release-note:new-resource
aws_cloudsearch_domain_service_access_policy
```
4 changes: 4 additions & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
"github.com/hashicorp/terraform-provider-aws/internal/service/cloudformation"
"github.com/hashicorp/terraform-provider-aws/internal/service/cloudfront"
"github.com/hashicorp/terraform-provider-aws/internal/service/cloudhsmv2"
"github.com/hashicorp/terraform-provider-aws/internal/service/cloudsearch"
"github.com/hashicorp/terraform-provider-aws/internal/service/cloudtrail"
"github.com/hashicorp/terraform-provider-aws/internal/service/cloudwatch"
"github.com/hashicorp/terraform-provider-aws/internal/service/cloudwatchlogs"
Expand Down Expand Up @@ -881,6 +882,9 @@ func Provider() *schema.Provider {
"aws_cloudhsm_v2_cluster": cloudhsmv2.ResourceCluster(),
"aws_cloudhsm_v2_hsm": cloudhsmv2.ResourceHSM(),

"aws_cloudsearch_domain": cloudsearch.ResourceDomain(),
"aws_cloudsearch_domain_service_access_policy": cloudsearch.ResourceDomainServiceAccessPolicy(),

"aws_cloudtrail": cloudtrail.ResourceCloudTrail(),

"aws_cloudwatch_composite_alarm": cloudwatch.ResourceCompositeAlarm(),
Expand Down
10 changes: 10 additions & 0 deletions internal/service/cloudsearch/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Terraform AWS Provider CloudSearch Package
<!-- markdownlint-disable MD026 -->
This area is primarily for AWS provider contributors and maintainers. For information on _using_ Terraform and the AWS provider, see the links below.


## Handy Links
* [Find out about contributing](../../../docs/contributing) to the AWS provider!
* AWS Provider Docs: [Home](https://registry.terraform.io/providers/hashicorp/aws/latest/docs)
* AWS Provider Docs: [One of the Budgets resources](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudsearch_domain)
* AWS Docs: [AWS SDK for Go Budgets](https://docs.aws.amazon.com/sdk-for-go/api/service/cloudsearch/)
Loading