Techdebt: Remove Terraform tests (#7195)
This commit is contained in:
parent
2fd5e800e4
commit
416ca0c5be
48
.github/workflows/test_terraform.yml
vendored
48
.github/workflows/test_terraform.yml
vendored
@ -1,48 +0,0 @@
|
||||
on: [workflow_dispatch]
|
||||
name: TestTerraform
|
||||
jobs:
|
||||
prepare_list:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- id: set-matrix
|
||||
run: echo "matrix=$(python tests/terraformtests/get_tf_services.py --names)" >> $GITHUB_OUTPUT
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
test_service:
|
||||
needs: prepare_list
|
||||
if: "!contains(github.event.pull_request.labels.*.name, 'java')"
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
service: ${{ fromJson(needs.prepare_list.outputs.matrix) }}
|
||||
go-version: [1.21.x]
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
cache-dependency-path: tests/terraformtests/terraform-provider-aws/go.sum
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Start MotoServer
|
||||
run: |
|
||||
pip install PyYAML build
|
||||
python -m build
|
||||
docker run --rm -t --name motoserver -e TEST_SERVER_MODE=true -e MOTO_PORT=4566 -e AWS_SECRET_ACCESS_KEY=server_secret -e AWS_ACCESS_KEY_ID=server_key -v `pwd`:/moto -p 4566:4566 -v /var/run/docker.sock:/var/run/docker.sock python:3.9-slim /moto/scripts/ci_moto_server.sh &
|
||||
MOTO_PORT=4566 python scripts/ci_wait_for_server.py
|
||||
- name: Get list of tests for this service
|
||||
id: get-list
|
||||
run: echo "testlist=$(python tests/terraformtests/get_tf_tests.py '${{ matrix.service }}')" >> $GITHUB_OUTPUT
|
||||
- name: Get original AWS service name
|
||||
id: get-service-name
|
||||
run: echo "servicename=$(python -c "print('${{ matrix.service }}'[:'${{ matrix.service }}'.index('|') if '|' in '${{ matrix.service }}' else len('${{ matrix.service }}')])")" >> $GITHUB_OUTPUT
|
||||
- name: Execute tests
|
||||
run: |
|
||||
make terraformtests SERVICE_NAME=${{ steps.get-service-name.outputs.servicename }} TEST_NAMES=${{ steps.get-list.outputs.testlist }}
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
||||
[submodule "tests/terraformtests/terraform-provider-aws"]
|
||||
path = tests/terraformtests/terraform-provider-aws
|
||||
url = https://github.com/hashicorp/terraform-provider-aws/
|
@ -1,35 +0,0 @@
|
||||
Documentation on how to run Terraform Tests can be found here:
|
||||
|
||||
http://docs.getmoto.org/en/latest/docs/contributing/development_tips/tests.html#terraform-tests
|
||||
|
||||
To get started you need to have [Go](https://go.dev/doc/install) installed.
|
||||
|
||||
One time setup:
|
||||
|
||||
```bash
|
||||
go mod init moto
|
||||
```
|
||||
|
||||
To see a list of available tests:
|
||||
|
||||
```bash
|
||||
cd tests/terraformtests/terraform-provider-aws
|
||||
git submodule init
|
||||
git submodule update
|
||||
go test ./internal/service/elb/ -v -list TestAcc
|
||||
```
|
||||
|
||||
To run a specific test:
|
||||
|
||||
```bash
|
||||
moto_server -p 4566
|
||||
make terraformtests SERVICE_NAME=elb TEST_NAMES=NewTestName
|
||||
```
|
||||
|
||||
To see the list of tests that currently pass:
|
||||
|
||||
```bash
|
||||
python tests/terraformtests/get_tf_services.py
|
||||
python tests/terraformtests/get_tf_tests.py ec2
|
||||
```
|
||||
|
@ -1 +0,0 @@
|
||||
name = "terraformtests"
|
@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
pwd=$PWD
|
||||
|
||||
(
|
||||
cd terraform-provider-aws || exit
|
||||
echo "Patching the terraform-provider-aws directory..."
|
||||
echo "Patches may fail if the patch was already applied, or if the patch is outdated"
|
||||
PATCH="etc/0001-Patch-Hardcode-endpoints-to-local-server.patch"
|
||||
(git apply $pwd/etc/0001-Patch-Hardcode-endpoints-to-local-server.patch > /dev/null 2>&1 && echo "Patched endpoints") || echo "!! Not able to patch endpoints"
|
||||
#(git apply $pwd/etc/0002-EC2-reduce-wait-times.patch > /dev/null 2>&1 && echo "Patched EC2") || echo "!! Not able to EC2"
|
||||
(git apply $pwd/etc/0003-Patch-IAM-wait-times.patch > /dev/null 2>&1 && echo "Patched IAM") || echo "!! Not able to patch IAM"
|
||||
(git apply $pwd/etc/0005-Route53-Reduce-wait-times.patch > /dev/null 2>&1 && echo "Patched Route53") || echo "!! Not able to patch Route53"
|
||||
(git apply $pwd/etc/0006-CF-Reduce-wait-times.patch > /dev/null 2>&1 && echo "Patched CF") || echo "!! Not able to patch CF"
|
||||
(git apply $pwd/etc/0007-Comprehend-Reduce-wait-times.patch > /dev/null 2>&1 && echo "Patched Comprehend") || echo "!! Not able to patch Comprehend"
|
||||
(git apply $pwd/etc/0008-Patch-RDS-improvements.patch > /dev/null 2>&1 && echo "Patched RDS") || echo "!! Not able to patch RDS"
|
||||
)
|
||||
|
||||
(
|
||||
cd terraform-provider-aws || exit
|
||||
echo "Running tests $2 for service $1..."
|
||||
TF_ACC=1 \
|
||||
AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test \
|
||||
AWS_ALTERNATE_ACCESS_KEY_ID=test AWS_ALTERNATE_SECRET_ACCESS_KEY=test \
|
||||
AWS_THIRD_SECRET_ACCESS_KEY=test AWS_THIRD_ACCESS_KEY_ID=test \
|
||||
go test ./internal/service/$1/ -v -timeout 60m -run $2
|
||||
)
|
@ -1,61 +0,0 @@
|
||||
From 83f8df495c5fc187d925a7dd61f93d1fdc4f405b Mon Sep 17 00:00:00 2001
|
||||
From: Bert Blommers <info@bertblommers.nl>
|
||||
Date: Sun, 13 Aug 2023 21:16:30 +0000
|
||||
Subject: [PATCH] Patch endpoints to localhost:4566
|
||||
|
||||
---
|
||||
internal/conns/config.go | 14 ++++++++++++++
|
||||
internal/provider/provider.go | 4 ++--
|
||||
2 files changed, 16 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/internal/conns/config.go b/internal/conns/config.go
|
||||
index 72c9cabde0..1f2e0d00e9 100644
|
||||
--- a/internal/conns/config.go
|
||||
+++ b/internal/conns/config.go
|
||||
@@ -55,10 +55,24 @@ type Config struct {
|
||||
UseFIPSEndpoint bool
|
||||
}
|
||||
|
||||
+// XXX: added by bblommers
|
||||
+func GetLocalEndpoints() map[string]string {
|
||||
+ const localEndpoint = "http://localhost:4566"
|
||||
+ var localEndpoints = map[string]string{}
|
||||
+ for _, name := range names.Aliases() {
|
||||
+ localEndpoints[name] = localEndpoint
|
||||
+ }
|
||||
+ return localEndpoints
|
||||
+}
|
||||
+
|
||||
// ConfigureProvider configures the provided provider Meta (instance data).
|
||||
func (c *Config) ConfigureProvider(ctx context.Context, client *AWSClient) (*AWSClient, diag.Diagnostics) {
|
||||
var diags diag.Diagnostics
|
||||
|
||||
+ // XXX: added by bblommers
|
||||
+ // insert custom endpoints
|
||||
+ c.Endpoints = GetLocalEndpoints()
|
||||
+
|
||||
awsbaseConfig := awsbase.Config{
|
||||
AccessKey: c.AccessKey,
|
||||
APNInfo: StdUserAgentProducts(c.TerraformVersion),
|
||||
diff --git a/internal/provider/provider.go b/internal/provider/provider.go
|
||||
index 88c6ea9538..cfe78c5549 100644
|
||||
--- a/internal/provider/provider.go
|
||||
+++ b/internal/provider/provider.go
|
||||
@@ -452,13 +452,13 @@ func configure(ctx context.Context, provider *schema.Provider, d *schema.Resourc
|
||||
CustomCABundle: d.Get("custom_ca_bundle").(string),
|
||||
EC2MetadataServiceEndpoint: d.Get("ec2_metadata_service_endpoint").(string),
|
||||
EC2MetadataServiceEndpointMode: d.Get("ec2_metadata_service_endpoint_mode").(string),
|
||||
- Endpoints: make(map[string]string),
|
||||
+ Endpoints: conns.GetLocalEndpoints(), // XXX: added by bblommers
|
||||
HTTPProxy: d.Get("http_proxy").(string),
|
||||
Insecure: d.Get("insecure").(bool),
|
||||
MaxRetries: 25, // Set default here, not in schema (muxing with v6 provider).
|
||||
Profile: d.Get("profile").(string),
|
||||
Region: d.Get("region").(string),
|
||||
- S3UsePathStyle: d.Get("s3_use_path_style").(bool),
|
||||
+ S3UsePathStyle: true,
|
||||
SecretKey: d.Get("secret_key").(string),
|
||||
SkipCredsValidation: d.Get("skip_credentials_validation").(bool),
|
||||
SkipRegionValidation: d.Get("skip_region_validation").(bool),
|
||||
--
|
||||
2.25.1
|
File diff suppressed because it is too large
Load Diff
@ -1,25 +0,0 @@
|
||||
From 84af701010212ceccccba66422191dfcf1e7445b Mon Sep 17 00:00:00 2001
|
||||
From: Bert Blommers <info@bertblommers.nl>
|
||||
Date: Sun, 13 Aug 2023 21:35:11 +0000
|
||||
Subject: [PATCH] Patch IAM timings
|
||||
|
||||
---
|
||||
internal/service/iam/wait.go | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/internal/service/iam/wait.go b/internal/service/iam/wait.go
|
||||
index 3d1c542aa2..e2e5069b63 100644
|
||||
--- a/internal/service/iam/wait.go
|
||||
+++ b/internal/service/iam/wait.go
|
||||
@@ -20,7 +20,7 @@ const (
|
||||
// as this will negatively impact user experience when configurations
|
||||
// have incorrect references or permissions.
|
||||
// Reference: https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_eventual-consistency
|
||||
- propagationTimeout = 2 * time.Minute
|
||||
+ propagationTimeout = 2 * time.Second
|
||||
|
||||
RoleStatusARNIsUniqueID = "uniqueid"
|
||||
RoleStatusARNIsARN = "arn"
|
||||
--
|
||||
2.25.1
|
||||
|
@ -1,145 +0,0 @@
|
||||
From 094b3837cd19df89d266038a91592126723cf833 Mon Sep 17 00:00:00 2001
|
||||
From: Bert Blommers <info@bertblommers.nl>
|
||||
Date: Sun, 13 Aug 2023 21:40:43 +0000
|
||||
Subject: [PATCH] Patch: Route53 timings
|
||||
|
||||
---
|
||||
internal/service/route53/record.go | 10 +++++-----
|
||||
internal/service/route53/wait.go | 14 +++++++-------
|
||||
internal/service/route53/zone.go | 20 ++++++++++----------
|
||||
3 files changed, 22 insertions(+), 22 deletions(-)
|
||||
|
||||
diff --git a/internal/service/route53/record.go b/internal/service/route53/record.go
|
||||
index 4f2eb6d5ef..c4ba38824f 100644
|
||||
--- a/internal/service/route53/record.go
|
||||
+++ b/internal/service/route53/record.go
|
||||
@@ -25,8 +25,8 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
- recordSetSyncMinDelay = 10
|
||||
- recordSetSyncMaxDelay = 30
|
||||
+ recordSetSyncMinDelay = 1
|
||||
+ recordSetSyncMaxDelay = 3
|
||||
)
|
||||
|
||||
// @SDKResource("aws_route53_record")
|
||||
@@ -749,7 +749,7 @@ func FindResourceRecordSetByFourPartKey(ctx context.Context, conn *route53.Route
|
||||
}
|
||||
|
||||
func ChangeResourceRecordSets(ctx context.Context, conn *route53.Route53, input *route53.ChangeResourceRecordSetsInput) (*route53.ChangeInfo, error) {
|
||||
- outputRaw, err := tfresource.RetryWhenAWSErrCodeEquals(ctx, 1*time.Minute, func() (interface{}, error) {
|
||||
+ outputRaw, err := tfresource.RetryWhenAWSErrCodeEquals(ctx, 10*time.Second, func() (interface{}, error) {
|
||||
return conn.ChangeResourceRecordSetsWithContext(ctx, input)
|
||||
}, route53.ErrCodeNoSuchHostedZone)
|
||||
|
||||
@@ -766,8 +766,8 @@ func WaitForRecordSetToSync(ctx context.Context, conn *route53.Route53, requestI
|
||||
Target: []string{route53.ChangeStatusInsync},
|
||||
Delay: time.Duration(rand.Int63n(recordSetSyncMaxDelay-recordSetSyncMinDelay)+recordSetSyncMinDelay) * time.Second,
|
||||
MinTimeout: 5 * time.Second,
|
||||
- PollInterval: 20 * time.Second,
|
||||
- Timeout: 30 * time.Minute,
|
||||
+ PollInterval: 2 * time.Second,
|
||||
+ Timeout: 3 * time.Minute,
|
||||
Refresh: func() (result interface{}, state string, err error) {
|
||||
changeRequest := &route53.GetChangeInput{
|
||||
Id: aws.String(requestId),
|
||||
diff --git a/internal/service/route53/wait.go b/internal/service/route53/wait.go
|
||||
index d8f577b269..2fc26bf570 100644
|
||||
--- a/internal/service/route53/wait.go
|
||||
+++ b/internal/service/route53/wait.go
|
||||
@@ -16,17 +16,17 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
- changeTimeout = 30 * time.Minute
|
||||
+ changeTimeout = 3 * time.Minute
|
||||
changeMinTimeout = 5 * time.Second
|
||||
- changePollInterval = 15 * time.Second
|
||||
- changeMinDelay = 10
|
||||
- changeMaxDelay = 30
|
||||
+ changePollInterval = 1 * time.Second
|
||||
+ changeMinDelay = 1
|
||||
+ changeMaxDelay = 3
|
||||
|
||||
- hostedZoneDNSSECStatusTimeout = 5 * time.Minute
|
||||
+ hostedZoneDNSSECStatusTimeout = 1 * time.Minute
|
||||
|
||||
- keySigningKeyStatusTimeout = 5 * time.Minute
|
||||
+ keySigningKeyStatusTimeout = 1 * time.Minute
|
||||
|
||||
- trafficPolicyInstanceOperationTimeout = 4 * time.Minute
|
||||
+ trafficPolicyInstanceOperationTimeout = 1 * time.Minute
|
||||
)
|
||||
|
||||
func waitChangeInfoStatusInsync(ctx context.Context, conn *route53.Route53, changeID string) (*route53.ChangeInfo, error) { //nolint:unparam
|
||||
diff --git a/internal/service/route53/zone.go b/internal/service/route53/zone.go
|
||||
index dc080c4916..493d5a41aa 100644
|
||||
--- a/internal/service/route53/zone.go
|
||||
+++ b/internal/service/route53/zone.go
|
||||
@@ -32,10 +32,10 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
- zoneChangeSyncMinDelay = 10
|
||||
- zoneChangeSyncMaxDelay = 30
|
||||
- zoneChangeSyncMinPollInterval = 15
|
||||
- zoneChangeSyncMaxPollInterval = 30
|
||||
+ zoneChangeSyncMinDelay = 1
|
||||
+ zoneChangeSyncMaxDelay = 3
|
||||
+ zoneChangeSyncMinPollInterval = 2
|
||||
+ zoneChangeSyncMaxPollInterval = 3
|
||||
)
|
||||
|
||||
// @SDKResource("aws_route53_zone", name="Hosted Zone")
|
||||
@@ -424,7 +424,7 @@ func dnsSECStatus(ctx context.Context, conn *route53.Route53, hostedZoneID strin
|
||||
}
|
||||
|
||||
var output *route53.GetDNSSECOutput
|
||||
- err := tfresource.Retry(ctx, 3*time.Minute, func() *retry.RetryError {
|
||||
+ err := tfresource.Retry(ctx, 3*time.Second, func() *retry.RetryError {
|
||||
var err error
|
||||
|
||||
output, err = conn.GetDNSSECWithContext(ctx, input)
|
||||
@@ -439,7 +439,7 @@ func dnsSECStatus(ctx context.Context, conn *route53.Route53, hostedZoneID strin
|
||||
}
|
||||
|
||||
return nil
|
||||
- }, tfresource.WithDelayRand(1*time.Minute), tfresource.WithPollInterval(30*time.Second))
|
||||
+ }, tfresource.WithDelayRand(5*time.Second), tfresource.WithPollInterval(3*time.Second))
|
||||
|
||||
if tfresource.TimedOut(err) {
|
||||
output, err = conn.GetDNSSECWithContext(ctx, input)
|
||||
@@ -480,7 +480,7 @@ func disableDNSSECForHostedZone(ctx context.Context, conn *route53.Route53, host
|
||||
}
|
||||
|
||||
var output *route53.DisableHostedZoneDNSSECOutput
|
||||
- err = tfresource.Retry(ctx, 5*time.Minute, func() *retry.RetryError {
|
||||
+ err = tfresource.Retry(ctx, 5*time.Second, func() *retry.RetryError {
|
||||
var err error
|
||||
|
||||
output, err = conn.DisableHostedZoneDNSSECWithContext(ctx, input)
|
||||
@@ -495,7 +495,7 @@ func disableDNSSECForHostedZone(ctx context.Context, conn *route53.Route53, host
|
||||
}
|
||||
|
||||
return nil
|
||||
- }, tfresource.WithDelayRand(1*time.Minute), tfresource.WithPollInterval(20*time.Second))
|
||||
+ }, tfresource.WithDelayRand(1*time.Second), tfresource.WithPollInterval(20*time.Second))
|
||||
|
||||
if tfresource.TimedOut(err) {
|
||||
output, err = conn.DisableHostedZoneDNSSECWithContext(ctx, input)
|
||||
@@ -687,9 +687,9 @@ func waitForChangeSynchronization(ctx context.Context, conn *route53.Route53, ch
|
||||
Pending: []string{route53.ChangeStatusPending},
|
||||
Target: []string{route53.ChangeStatusInsync},
|
||||
Delay: time.Duration(rand.Int63n(zoneChangeSyncMaxDelay-zoneChangeSyncMinDelay)+zoneChangeSyncMinDelay) * time.Second,
|
||||
- MinTimeout: 5 * time.Second,
|
||||
+ MinTimeout: 1 * time.Second,
|
||||
PollInterval: time.Duration(rand.Int63n(zoneChangeSyncMaxPollInterval-zoneChangeSyncMinPollInterval)+zoneChangeSyncMinPollInterval) * time.Second,
|
||||
- Timeout: 15 * time.Minute,
|
||||
+ Timeout: 1 * time.Minute,
|
||||
Refresh: func() (result interface{}, state string, err error) {
|
||||
input := &route53.GetChangeInput{
|
||||
Id: aws.String(changeID),
|
||||
--
|
||||
2.25.1
|
||||
|
@ -1,29 +0,0 @@
|
||||
From c2981f42629c1dcb3756c13f243c8c52391f3677 Mon Sep 17 00:00:00 2001
|
||||
From: Bert Blommers <info@bertblommers.nl>
|
||||
Date: Sun, 13 Aug 2023 21:43:26 +0000
|
||||
Subject: [PATCH] Patch: CloudFront timings
|
||||
|
||||
---
|
||||
internal/service/cloudfront/distribution.go | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/internal/service/cloudfront/distribution.go b/internal/service/cloudfront/distribution.go
|
||||
index 4870ca0f6d..8190b12231 100644
|
||||
--- a/internal/service/cloudfront/distribution.go
|
||||
+++ b/internal/service/cloudfront/distribution.go
|
||||
@@ -1120,9 +1120,9 @@ func DistributionWaitUntilDeployed(ctx context.Context, id string, meta interfac
|
||||
Pending: []string{"InProgress"},
|
||||
Target: []string{"Deployed"},
|
||||
Refresh: resourceWebDistributionStateRefreshFunc(ctx, id, meta),
|
||||
- Timeout: 90 * time.Minute,
|
||||
- MinTimeout: 15 * time.Second,
|
||||
- Delay: 1 * time.Minute,
|
||||
+ Timeout: 90 * time.Second,
|
||||
+ MinTimeout: 2 * time.Second,
|
||||
+ Delay: 2 * time.Second,
|
||||
}
|
||||
|
||||
_, err := stateConf.WaitForStateContext(ctx)
|
||||
--
|
||||
2.25.1
|
||||
|
@ -1,52 +0,0 @@
|
||||
From 44aeb35bb1747acd7fcae1b53186a37eee61c93d Mon Sep 17 00:00:00 2001
|
||||
From: Bert Blommers <info@bertblommers.nl>
|
||||
Date: Sun, 13 Aug 2023 20:53:38 +0000
|
||||
Subject: [PATCH] Patch: Comprehend timings
|
||||
|
||||
---
|
||||
internal/service/comprehend/common_model.go | 2 +-
|
||||
internal/service/comprehend/consts.go | 14 +++++++-------
|
||||
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/internal/service/comprehend/common_model.go b/internal/service/comprehend/common_model.go
|
||||
index b9af8e5f4c..bda7b84d90 100644
|
||||
--- a/internal/service/comprehend/common_model.go
|
||||
+++ b/internal/service/comprehend/common_model.go
|
||||
@@ -60,7 +60,7 @@ func waitNetworkInterfaceCreated(ctx context.Context, conn *ec2.EC2, initialENII
|
||||
Pending: []string{},
|
||||
Target: []string{ec2.NetworkInterfaceStatusInUse},
|
||||
Refresh: statusNetworkInterfaces(ctx, conn, initialENIIds, securityGroups, subnets),
|
||||
- Delay: 4 * time.Minute,
|
||||
+ Delay: 4 * time.Second,
|
||||
MinTimeout: 10 * time.Second,
|
||||
Timeout: timeout,
|
||||
}
|
||||
diff --git a/internal/service/comprehend/consts.go b/internal/service/comprehend/consts.go
|
||||
index e57884a12d..8fc23d7018 100644
|
||||
--- a/internal/service/comprehend/consts.go
|
||||
+++ b/internal/service/comprehend/consts.go
|
||||
@@ -4,15 +4,15 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
-const iamPropagationTimeout = 2 * time.Minute
|
||||
+const iamPropagationTimeout = 2 * time.Second
|
||||
|
||||
// Avoid service throttling
|
||||
-const entityRegcognizerCreatedDelay = 10 * time.Minute
|
||||
+const entityRegcognizerCreatedDelay = 10 * time.Second
|
||||
const entityRegcognizerStoppedDelay = 0
|
||||
-const entityRegcognizerDeletedDelay = 5 * time.Minute
|
||||
-const entityRegcognizerPollInterval = 1 * time.Minute
|
||||
+const entityRegcognizerDeletedDelay = 5 * time.Second
|
||||
+const entityRegcognizerPollInterval = 1 * time.Second
|
||||
|
||||
-const documentClassifierCreatedDelay = 15 * time.Minute
|
||||
+const documentClassifierCreatedDelay = 15 * time.Second
|
||||
const documentClassifierStoppedDelay = 0
|
||||
-const documentClassifierDeletedDelay = 5 * time.Minute
|
||||
-const documentClassifierPollInterval = 1 * time.Minute
|
||||
+const documentClassifierDeletedDelay = 5 * time.Second
|
||||
+const documentClassifierPollInterval = 1 * time.Second
|
||||
--
|
||||
2.25.1
|
@ -1,152 +0,0 @@
|
||||
From ef15713b2e04a87966d2ddb8822d703c632c9551 Mon Sep 17 00:00:00 2001
|
||||
From: Bert Blommers <info@bertblommers.nl>
|
||||
Date: Sun, 13 Aug 2023 21:48:20 +0000
|
||||
Subject: [PATCH] Patch: RDS timings
|
||||
|
||||
---
|
||||
internal/service/rds/cluster.go | 16 ++++++++--------
|
||||
internal/service/rds/consts.go | 2 +-
|
||||
internal/service/rds/instance.go | 24 ++++++++++++------------
|
||||
3 files changed, 21 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/internal/service/rds/cluster.go b/internal/service/rds/cluster.go
|
||||
index 5b71483600..e18e024e47 100644
|
||||
--- a/internal/service/rds/cluster.go
|
||||
+++ b/internal/service/rds/cluster.go
|
||||
@@ -34,7 +34,7 @@ import (
|
||||
const (
|
||||
clusterScalingConfiguration_DefaultMinCapacity = 1
|
||||
clusterScalingConfiguration_DefaultMaxCapacity = 16
|
||||
- clusterTimeoutDelete = 2 * time.Minute
|
||||
+ clusterTimeoutDelete = 5 * time.Second
|
||||
)
|
||||
|
||||
// @SDKResource("aws_rds_cluster", name="Cluster")
|
||||
@@ -1365,7 +1365,7 @@ func resourceClusterUpdate(ctx context.Context, d *schema.ResourceData, meta int
|
||||
}
|
||||
}
|
||||
|
||||
- _, err := tfresource.RetryWhen(ctx, 5*time.Minute,
|
||||
+ _, err := tfresource.RetryWhen(ctx, 1*time.Minute,
|
||||
func() (interface{}, error) {
|
||||
return conn.ModifyDBClusterWithContext(ctx, input)
|
||||
},
|
||||
@@ -1694,8 +1694,8 @@ func waitDBClusterCreated(ctx context.Context, conn *rds.RDS, id string, timeout
|
||||
Target: []string{ClusterStatusAvailable},
|
||||
Refresh: statusDBCluster(ctx, conn, id),
|
||||
Timeout: timeout,
|
||||
- MinTimeout: 10 * time.Second,
|
||||
- Delay: 30 * time.Second,
|
||||
+ MinTimeout: 1 * time.Second,
|
||||
+ Delay: 3 * time.Second,
|
||||
}
|
||||
|
||||
outputRaw, err := stateConf.WaitForStateContext(ctx)
|
||||
@@ -1721,8 +1721,8 @@ func waitDBClusterUpdated(ctx context.Context, conn *rds.RDS, id string, timeout
|
||||
Target: []string{ClusterStatusAvailable},
|
||||
Refresh: statusDBCluster(ctx, conn, id),
|
||||
Timeout: timeout,
|
||||
- MinTimeout: 10 * time.Second,
|
||||
- Delay: 30 * time.Second,
|
||||
+ MinTimeout: 1 * time.Second,
|
||||
+ Delay: 3 * time.Second,
|
||||
}
|
||||
|
||||
outputRaw, err := stateConf.WaitForStateContext(ctx)
|
||||
@@ -1745,8 +1745,8 @@ func waitDBClusterDeleted(ctx context.Context, conn *rds.RDS, id string, timeout
|
||||
Target: []string{},
|
||||
Refresh: statusDBCluster(ctx, conn, id),
|
||||
Timeout: timeout,
|
||||
- MinTimeout: 10 * time.Second,
|
||||
- Delay: 30 * time.Second,
|
||||
+ MinTimeout: 1 * time.Second,
|
||||
+ Delay: 3 * time.Second,
|
||||
}
|
||||
|
||||
outputRaw, err := stateConf.WaitForStateContext(ctx)
|
||||
diff --git a/internal/service/rds/consts.go b/internal/service/rds/consts.go
|
||||
index 6bc2ab6194..937ba77468 100644
|
||||
--- a/internal/service/rds/consts.go
|
||||
+++ b/internal/service/rds/consts.go
|
||||
@@ -239,7 +239,7 @@ func backupTarget_Values() []string {
|
||||
}
|
||||
|
||||
const (
|
||||
- propagationTimeout = 2 * time.Minute
|
||||
+ propagationTimeout = 2 * time.Second
|
||||
)
|
||||
|
||||
const (
|
||||
diff --git a/internal/service/rds/instance.go b/internal/service/rds/instance.go
|
||||
index eafddc13b0..86809379d9 100644
|
||||
--- a/internal/service/rds/instance.go
|
||||
+++ b/internal/service/rds/instance.go
|
||||
@@ -77,9 +77,9 @@ func ResourceInstance() *schema.Resource {
|
||||
},
|
||||
|
||||
Timeouts: &schema.ResourceTimeout{
|
||||
- Create: schema.DefaultTimeout(40 * time.Minute),
|
||||
- Update: schema.DefaultTimeout(80 * time.Minute),
|
||||
- Delete: schema.DefaultTimeout(60 * time.Minute),
|
||||
+ Create: schema.DefaultTimeout(40 * time.Second),
|
||||
+ Update: schema.DefaultTimeout(80 * time.Second),
|
||||
+ Delete: schema.DefaultTimeout(60 * time.Second),
|
||||
},
|
||||
|
||||
Schema: map[string]*schema.Schema{
|
||||
@@ -1917,7 +1917,7 @@ func resourceInstanceUpdate(ctx context.Context, d *schema.ResourceData, meta in
|
||||
DBInstanceIdentifier: aws.String(sourceARN.Identifier),
|
||||
SkipFinalSnapshot: true,
|
||||
}
|
||||
- _, err = tfresource.RetryWhen(ctx, 5*time.Minute,
|
||||
+ _, err = tfresource.RetryWhen(ctx, 1*time.Minute,
|
||||
func() (any, error) {
|
||||
return conn.DeleteDBInstance(ctx, deleteInput)
|
||||
},
|
||||
@@ -2520,8 +2520,8 @@ func statusDBInstanceSDKv2(ctx context.Context, conn *rds_sdkv2.Client, id strin
|
||||
|
||||
func waitDBInstanceAvailableSDKv1(ctx context.Context, conn *rds.RDS, id string, timeout time.Duration, optFns ...tfresource.OptionsFunc) (*rds.DBInstance, error) {
|
||||
options := tfresource.Options{
|
||||
- PollInterval: 10 * time.Second,
|
||||
- Delay: 1 * time.Minute,
|
||||
+ PollInterval: 5 * time.Second,
|
||||
+ Delay: 3 * time.Second,
|
||||
ContinuousTargetOccurence: 3,
|
||||
}
|
||||
for _, fn := range optFns {
|
||||
@@ -2563,8 +2563,8 @@ func waitDBInstanceAvailableSDKv1(ctx context.Context, conn *rds.RDS, id string,
|
||||
|
||||
func waitDBInstanceAvailableSDKv2(ctx context.Context, conn *rds_sdkv2.Client, id string, timeout time.Duration, optFns ...tfresource.OptionsFunc) (*rds.DBInstance, error) { //nolint:unparam
|
||||
options := tfresource.Options{
|
||||
- PollInterval: 10 * time.Second,
|
||||
- Delay: 1 * time.Minute,
|
||||
+ PollInterval: 2 * time.Second,
|
||||
+ Delay: 5 * time.Second,
|
||||
ContinuousTargetOccurence: 3,
|
||||
}
|
||||
for _, fn := range optFns {
|
||||
@@ -2606,8 +2606,8 @@ func waitDBInstanceAvailableSDKv2(ctx context.Context, conn *rds_sdkv2.Client, i
|
||||
|
||||
func waitDBInstanceDeleted(ctx context.Context, conn *rds.RDS, id string, timeout time.Duration, optFns ...tfresource.OptionsFunc) (*rds.DBInstance, error) { //nolint:unparam
|
||||
options := tfresource.Options{
|
||||
- PollInterval: 10 * time.Second,
|
||||
- Delay: 1 * time.Minute,
|
||||
+ PollInterval: 2 * time.Second,
|
||||
+ Delay: 5 * time.Second,
|
||||
ContinuousTargetOccurence: 3,
|
||||
}
|
||||
for _, fn := range optFns {
|
||||
@@ -2694,8 +2694,8 @@ func statusBlueGreenDeployment(ctx context.Context, conn *rds_sdkv2.Client, id s
|
||||
|
||||
func waitBlueGreenDeploymentAvailable(ctx context.Context, conn *rds_sdkv2.Client, id string, timeout time.Duration, optFns ...tfresource.OptionsFunc) (*types.BlueGreenDeployment, error) {
|
||||
options := tfresource.Options{
|
||||
- PollInterval: 10 * time.Second,
|
||||
- Delay: 1 * time.Minute,
|
||||
+ PollInterval: 2 * time.Second,
|
||||
+ Delay: 5 * time.Second,
|
||||
}
|
||||
for _, fn := range optFns {
|
||||
fn(&options)
|
||||
--
|
||||
2.25.1
|
||||
|
@ -1,36 +0,0 @@
|
||||
### What is the purpose of this folder?
|
||||
|
||||
This folder contains git-patches for the Terraform repository. When running Terraform-tests against Moto, these patches will be applied automatically.
|
||||
|
||||
See http://docs.getmoto.org/en/latest/docs/contributing/development_tips/tests.html#terraform-tests on how to run the tests.
|
||||
|
||||
#### What kind of patches are there?
|
||||
- Patches that set the endpoint to localhost, to ensure the tests are run against Moto
|
||||
- Patches that reduce the wait time for resources. AWS may take a few minutes before an EC2 instance is spun up, Moto does this immediately - so it's not necessary for Terraform to wait until resources are ready
|
||||
- etc
|
||||
|
||||
#### How do I create a new patch?
|
||||
|
||||
- Checkout the repository, and open a terminal in the root-directory
|
||||
- Go into the Terraform-directory:
|
||||
```commandline
|
||||
cd tests/terraformtests/terraform-provider-aws
|
||||
```
|
||||
- Ensure the right Terraform-branch is selected, and is clean:
|
||||
```commandline
|
||||
git checkout main
|
||||
git checkout .
|
||||
```
|
||||
- Create a new branch:
|
||||
```commandline
|
||||
git checkout -b patch-my-changes
|
||||
```
|
||||
- Make the required changes.
|
||||
- Commit your changes
|
||||
- Create a patch:
|
||||
```commandline
|
||||
git format-patch main
|
||||
```
|
||||
- Move the created patch-file into this folder
|
||||
- Update `tests/terraformtests/bin/run_go_test` with the new patch-file
|
||||
|
@ -1,5 +0,0 @@
|
||||
import yaml
|
||||
|
||||
with open("tests/terraformtests/terraform-tests.success.txt") as f:
|
||||
dct = yaml.load(f, Loader=yaml.FullLoader)
|
||||
print(list(dct.keys()))
|
@ -1,20 +0,0 @@
|
||||
import sys
|
||||
|
||||
import yaml
|
||||
|
||||
|
||||
def print_test_names(service):
|
||||
with open("tests/terraformtests/terraform-tests.success.txt") as f:
|
||||
dct = yaml.load(f, Loader=yaml.FullLoader)
|
||||
tests = dct.get(service)
|
||||
if len(tests) == 1:
|
||||
print(tests[0])
|
||||
else:
|
||||
print('"(' + "|".join(tests) + ')"')
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) != 2:
|
||||
print("")
|
||||
else:
|
||||
print_test_names(service=sys.argv[1])
|
@ -1 +0,0 @@
|
||||
Subproject commit 96ac19e4c1feb5edee5f30aba29be233109e8717
|
@ -1,64 +0,0 @@
|
||||
# The Tests in this file worked against an older version of Terraform
|
||||
# Either they do not work anymore, or have not been verified to work yet
|
||||
|
||||
TestAccAppsyncApiKey
|
||||
TestAccAppsyncGraphqlApi
|
||||
TestAccAutoscalingPolicy
|
||||
TestAccBatchJobQueue
|
||||
TestAccCloudTrail
|
||||
TestAccEventsRule
|
||||
TestAccCloudWatchEventTarget_ssmDocument
|
||||
TestAccCloudWatchMetricAlarm
|
||||
TestAccEC2DefaultSecurityGroup
|
||||
TestAccEC2DefaultVPCAndSubnet
|
||||
TestAccMetaDefaultTagsDataSource
|
||||
TestAccEc2ManagedPrefixList
|
||||
TestAccEC2Tag
|
||||
TestAccEc2TransitGateway
|
||||
TestAccEC2TransitGatewayDataSource
|
||||
TestAccEc2TransitGatewayPeeringAttachment
|
||||
TestAccEc2TransitGatewayPeeringAttachmentDataSource
|
||||
TestAccEc2TransitGatewayRoute
|
||||
TestAccEc2TransitGatewayRouteTable
|
||||
TestAccEc2TransitGatewayRouteTableDataSource
|
||||
TestAccEc2TransitGatewayRouteTablePropagation
|
||||
TestAccEc2TransitGatewayVpcAttachmentAccepter
|
||||
TestAccEc2TransitGatewayVpcAttachment_ApplianceModeSupport
|
||||
TestAccEc2TransitGatewayVpcAttachment_basic
|
||||
TestAccEc2TransitGatewayVpcAttachmentDataSource
|
||||
TestAccEc2TransitGatewayVpcAttachment_disappears
|
||||
TestAccEc2TransitGatewayVpcAttachment_DnsSupport
|
||||
TestAccEc2TransitGatewayVpcAttachment_SharedTransitGateway
|
||||
TestAccEc2TransitGatewayVpnAttachmentDataSource
|
||||
TestAccEc2TransitGatewayDxGatewayAttachmentDataSource
|
||||
TestAccEc2TransitGatewayPeeringAttachmentAccepter
|
||||
TestAccEc2TransitGatewayRouteTableAssociation
|
||||
TestAccEc2TransitGatewayVpcAttachment
|
||||
TestAccEC2EgressOnlyInternetGateway
|
||||
TestAccEFSMountTarget
|
||||
TestAccEksClusterDataSource
|
||||
TestAccIAMRole
|
||||
TestAccIotThing
|
||||
TestAccIPRanges
|
||||
TestAccELBPolicy
|
||||
TestAccPartition
|
||||
TestAccPinpointApp
|
||||
TestAccPinpointEventStream
|
||||
TestAccProvider
|
||||
TestAccSsmParameterDataSource
|
||||
TestAccDataSourceLambdaLayerVersion
|
||||
TestAccDataSourceLambdaInvocation
|
||||
TestAccDataSourceNetworkInterface_
|
||||
|
||||
TestAccELBListenerPolicy_update
|
||||
TestAccServiceDiscoveryService_private
|
||||
TestAccIAMGroup_path
|
||||
TestAccLambdaFunctionURL_Cors
|
||||
TestAccVPCNATGateway_privateIP
|
||||
TestAccVPCSecurityGroupRule_multiDescription
|
||||
|
||||
TestAccELBV2TargetGroup_ProtocolVersion_basic
|
||||
TestAccELBV2TargetGroup_ForceNew_port
|
||||
TestAccELBV2TargetGroup_ForceNew_protocol
|
||||
# TF expects a wrong error message, which is not in-line with what AWS returns
|
||||
TestAccEFSFileSystemDataSource_nonExistent_fileSystemID
|
@ -1,619 +0,0 @@
|
||||
acm:
|
||||
- TestAccACMCertificateDataSource
|
||||
acmpca:
|
||||
- TestAccACMPCACertificateAuthority_
|
||||
- TestAccACMPCACertificateAuthorityDataSource
|
||||
- TestAccACMPCACertificateAuthorityCertificate
|
||||
- TestAccACMPCACertificateDataSource
|
||||
amp:
|
||||
- TestAccAMPWorkspace
|
||||
- TestAccAMPRuleGroupNamespace
|
||||
apigateway:
|
||||
- TestAccAPIGatewayAPIKeyDataSource_basic
|
||||
- TestAccAPIGatewayAPIKey_disappears
|
||||
- TestAccAPIGatewayAPIKey_enabled
|
||||
- TestAccAPIGatewayAPIKey_value
|
||||
- TestAccAPIGatewayGatewayResponse
|
||||
- TestAccAPIGatewayRestAPI_apiKeySource
|
||||
- TestAccAPIGatewayRestAPI_basic
|
||||
- TestAccAPIGatewayRestAPI_description
|
||||
- TestAccAPIGatewayRestAPI_disappears
|
||||
- TestAccAPIGatewayRestAPI_Endpoint_private
|
||||
- TestAccAPIGatewayStage_basic
|
||||
- TestAccAPIGatewayStage_Disappears_restAPI
|
||||
- TestAccAPIGatewayStage_disappears
|
||||
- TestAccAPIGatewayStage_Disappears_referencingDeployment
|
||||
- TestAccAPIGatewayStage_tags
|
||||
- TestAccAPIGatewayStage_accessLogSettings
|
||||
apigatewayv2:
|
||||
- TestAccAPIGatewayV2Authorizer
|
||||
- TestAccAPIGatewayV2IntegrationResponse
|
||||
- TestAccAPIGatewayV2Model
|
||||
- TestAccAPIGatewayV2Route
|
||||
- TestAccAPIGatewayV2Stage_basicHTTP
|
||||
- TestAccAPIGatewayV2Stage_basicWebSocket
|
||||
- TestAccAPIGatewayV2Stage_disappears
|
||||
- TestAccAPIGatewayV2VPCLink
|
||||
appconfig:
|
||||
- TestAccAppConfigConfigurationProfileDataSource_basic
|
||||
- TestAccAppConfigConfigurationProfile_
|
||||
- TestAccAppConfigConfigurationProfilesDataSource_basic
|
||||
- TestAccAppConfigApplication_
|
||||
- TestAccAppConfigHostedConfigurationVersion_
|
||||
autoscaling:
|
||||
- TestAccAutoScalingAttachment
|
||||
- TestAccAutoScalingGroupDataSource
|
||||
- TestAccAutoScalingGroupTag
|
||||
- TestAccAutoScalingGroup_basic
|
||||
- TestAccAutoScalingGroup_disappears
|
||||
- TestAccAutoScalingGroup_nameGenerated
|
||||
- TestAccAutoScalingGroup_namePrefix
|
||||
- TestAccAutoScalingGroup_enablingMetrics
|
||||
- TestAccAutoScalingGroup_suspendingProcesses
|
||||
- TestAccAutoScalingGroup_mixedInstancesPolicy
|
||||
- TestAccAutoScalingGroup_MixedInstancesPolicy_capacityRebalance
|
||||
- TestAccAutoScalingLaunchConfigurationDataSource
|
||||
- TestAccAutoScalingLaunchConfiguration_AssociatePublicIPAddress
|
||||
- TestAccAutoScalingLaunchConfiguration_EBS_noDevice
|
||||
- TestAccAutoScalingLaunchConfiguration_userData
|
||||
- TestAccAutoScalingLaunchConfiguration_metadataOptions
|
||||
- TestAccAutoScalingLaunchConfiguration_with
|
||||
- TestAccAutoScalingLaunchConfiguration_encryptedEBSBlockDevice
|
||||
- TestAccAutoScalingLaunchConfiguration_encryptedRootBlockDevice
|
||||
batch:
|
||||
- TestAccBatchJobDefinition
|
||||
- TestAccBatchJobQueue_
|
||||
- TestAccBatchJobQueueDataSource_
|
||||
- TestAccBatchSchedulingPolicy
|
||||
ce:
|
||||
- TestAccCECostCategory
|
||||
cloudformation:
|
||||
- TestAccCloudFormationExportDataSource
|
||||
- TestAccCloudFormationStackDataSource_DataSource
|
||||
- TestAccCloudFormationStackSet_basic
|
||||
- TestAccCloudFormationStackSet_templateBody
|
||||
- TestAccCloudFormationStackSet_templateURL
|
||||
- TestAccCloudFormationStackSet_description
|
||||
- TestAccCloudFormationStackSet_operationPreferences
|
||||
- TestAccCloudFormationStackSet_name
|
||||
- TestAccCloudFormationStackSet_executionRoleName
|
||||
- TestAccCloudFormationStackSet_disappears
|
||||
- TestAccCloudFormationStack_basic
|
||||
- TestAccCloudFormationStack_disappears
|
||||
- TestAccCloudFormationStack_onFailure
|
||||
- TestAccCloudFormationStack_yaml
|
||||
- TestAccCloudFormationStack_withTransform
|
||||
- TestAccCloudFormationStack_WithURLWithParams_withYAML
|
||||
- TestAccCloudFormationStack_WithURL_withParams
|
||||
cloudfront:
|
||||
- TestAccCloudFrontDistributionDataSource_basic
|
||||
- TestAccCloudFrontDistribution_isIPV6Enabled
|
||||
- TestAccCloudFrontOriginAccessControl_
|
||||
cloudtrail:
|
||||
- TestAccCloudTrailServiceAccount
|
||||
cloudwatch:
|
||||
- TestAccCloudWatchDashboard
|
||||
- TestAccCloudWatchLogsDestination
|
||||
- TestAccCloudWatchLogsDestinationPolicy
|
||||
- TestAccCloudWatchLogsGroupDataSource
|
||||
cognitoidp:
|
||||
- TestAccCognitoIDPIdentityProvider
|
||||
- TestAccCognitoIDPUserGroup_
|
||||
- TestAccCognitoIDPUserInGroup
|
||||
- TestAccCognitoIDPUserPoolClientDataSource
|
||||
- TestAccCognitoIDPUserPoolClient_basic
|
||||
- TestAccCognitoIDPUserPoolClient_enableRevocation
|
||||
- TestAccCognitoIDPUserPoolClient_refreshTokenValidity
|
||||
- TestAccCognitoIDPUserPoolClient_accessTokenValidity
|
||||
- TestAccCognitoIDPUserPoolClient_idTokenValidity
|
||||
- TestAccCognitoIDPUserPoolClient_name
|
||||
- TestAccCognitoIDPUserPoolClient_allFields
|
||||
- TestAccCognitoIDPUserPool_
|
||||
- TestAccCognitoIDPUser_
|
||||
- TestAccCognitoIDPUserPoolClients
|
||||
comprehend:
|
||||
- TestAccComprehendEntityRecognizer_basic
|
||||
- TestAccComprehendEntityRecognizer_disappears
|
||||
- TestAccComprehendEntityRecognizer_version
|
||||
- TestAccComprehendEntityRecognizer_documents
|
||||
- TestAccComprehendEntityRecognizer_annotations
|
||||
- TestAccComprehendEntityRecognizer_tags
|
||||
- TestAccComprehendEntityRecognizer_DefaultTags
|
||||
- TestAccComprehendEntityRecognizer_KMSKeys
|
||||
dax:
|
||||
- TestAccDAXCluster_basic
|
||||
- TestAccDAXCluster_Encryption_enabled
|
||||
dynamodb:
|
||||
- TestAccDynamoDBTableItem
|
||||
ec2:
|
||||
- TestAccEC2AvailabilityZonesDataSource_
|
||||
- TestAccEC2CarrierGateway_
|
||||
- TestAccEC2HostDataSource_
|
||||
- TestAccEC2Host_basic
|
||||
- TestAccEC2Host_disappears
|
||||
- TestAccEC2Host_instanceFamily
|
||||
- TestAccEC2Host_tags
|
||||
- TestAccEC2InstanceTypeOfferingDataSource_
|
||||
- TestAccEC2InstanceTypeOfferingsDataSource_
|
||||
- TestAccEC2RouteTableAssociation_
|
||||
- TestAccEC2SpotInstanceRequest_disappears
|
||||
- TestAccEC2SpotInstanceRequest_interruptUpdate
|
||||
- TestAccEC2VPCEndpointService_
|
||||
- TestAccEC2VPCPeeringConnectionAccepter_
|
||||
- TestAccEC2VPCsDataSource
|
||||
- TestAccEC2VPNGateway_
|
||||
- TestAccEC2VPNGatewayAttachment_
|
||||
- TestAccVPCEgressOnlyInternetGateway_
|
||||
- TestAccVPCInternetGateway
|
||||
- TestAccVPCNATGateway_basic
|
||||
- TestAccVPCNATGateway_disappears
|
||||
- TestAccVPCNATGateway_ConnectivityType_private
|
||||
- TestAccVPCNATGateway_tags
|
||||
- TestAccVPCSecurityGroupDataSource_basic
|
||||
- TestAccVPCSecurityGroupRule_Ingress
|
||||
- TestAccVPCSecurityGroupRule_egress
|
||||
- TestAccVPCSecurityGroupRule_selfReference
|
||||
- TestAccVPCSecurityGroupRule_expectInvalid
|
||||
- TestAccVPCSecurityGroupRule_PartialMatching
|
||||
- TestAccVPCSecurityGroupRule_issue5310
|
||||
- TestAccVPCSecurityGroupRule_race
|
||||
- TestAccVPCSecurityGroupRule_selfSource
|
||||
- TestAccVPCSecurityGroupRule_prefixList
|
||||
- TestAccVPCSecurityGroupRule_ingressDescription
|
||||
- TestAccVPCSecurityGroupRule_egressDescription
|
||||
- TestAccVPCSecurityGroupRule_IngressDescription_updates
|
||||
- TestAccVPCSecurityGroupRule_EgressDescription_updates
|
||||
- TestAccVPCSecurityGroupRule_Description
|
||||
- TestAccVPCSecurityGroupRule_MultipleRuleSearching_allProtocolCrash
|
||||
- TestAccVPCSecurityGroupRule_protocolChange
|
||||
- TestAccVPCSecurityGroup_allowAll
|
||||
- TestAccVPCSecurityGroup_basic
|
||||
- TestAccVPCSecurityGroup_change
|
||||
- TestAccVPCSecurityGroup_cidrAndGroups
|
||||
- TestAccVPCSecurityGroup_defaultEgressVPC
|
||||
- TestAccVPCSecurityGroup_disappears
|
||||
- TestAccVPCSecurityGroup_driftComplex
|
||||
- TestAccVPCSecurityGroup_egressMode
|
||||
- TestAccVPCSecurityGroup_egressWithPrefixList
|
||||
- TestAccVPCSecurityGroup_failWithDiffMismatch
|
||||
- TestAccVPCSecurityGroup_ingressMode
|
||||
- TestAccVPCSecurityGroup_ingressWithCIDRAndSGsVPC
|
||||
- TestAccVPCSecurityGroup_ingressWithPrefixList
|
||||
- TestAccVPCSecurityGroup_invalidCIDRBlock
|
||||
- TestAccVPCSecurityGroup_ipRangeAndSecurityGroupWithSameRules
|
||||
- TestAccVPCSecurityGroup_ipRangesWithSameRules
|
||||
- TestAccVPCSecurityGroup_ipv4AndIPv6Egress
|
||||
- TestAccVPCSecurityGroup_ipv6
|
||||
- TestAccVPCSecurityGroup_multiIngress
|
||||
- TestAccVPCSecurityGroup_nameGenerated
|
||||
- TestAccVPCSecurityGroup_namePrefix
|
||||
- TestAccVPCSecurityGroup_namePrefixTerraform
|
||||
- TestAccVPCSecurityGroup_nameTerraformPrefix
|
||||
- TestAccVPCSecurityGroup_noVPC
|
||||
- TestAccVPCSecurityGroup_ruleDescription
|
||||
- TestAccVPCSecurityGroup_ruleGathering
|
||||
- TestAccVPCSecurityGroup_self
|
||||
- TestAccVPCSecurityGroup_sourceSecurityGroup
|
||||
- TestAccVPCSecurityGroup_tags
|
||||
- TestAccVPCSecurityGroup_vpc
|
||||
- TestAccVPCSecurityGroups
|
||||
ecr:
|
||||
- TestAccECRLifecyclePolicy
|
||||
- TestAccECRRegistryPolicy
|
||||
- TestAccECRReplicationConfiguration
|
||||
- TestAccECRRepository
|
||||
- TestAccECRRepositoryDataSource
|
||||
- TestAccECRRepositoryPolicy
|
||||
ecs:
|
||||
- TestAccECSCapacityProvider_basic
|
||||
- TestAccECSCapacityProvider_disappears
|
||||
- TestAccECSCapacityProvider_tags
|
||||
- TestAccECSCluster_
|
||||
- TestAccECSClusterCapacityProviders_basic
|
||||
- TestAccECSClusterCapacityProviders_defaults
|
||||
- TestAccECSClusterCapacityProviders_disappears
|
||||
- TestAccECSClusterCapacityProviders_Update
|
||||
- TestAccECSService_clusterName
|
||||
- TestAccECSService_deploymentCircuitBreaker
|
||||
- TestAccECSService_alb
|
||||
- TestAccECSService_multipleTargetGroups
|
||||
- TestAccECSService_DeploymentValues
|
||||
- TestAccECSService_iamRole
|
||||
- TestAccECSService_ServiceRegistries_container
|
||||
- TestAccECSService_renamedCluster
|
||||
- TestAccECSService_familyAndRevision
|
||||
- TestAccECSService_replicaSchedulingStrategy
|
||||
- TestAccECSService_DaemonSchedulingStrategy
|
||||
- TestAccECSService_PlacementStrategy_missing
|
||||
- TestAccECSService_disappears
|
||||
- TestAccECSTaskSet_
|
||||
- TestAccECSTaskDefinition_Docker
|
||||
- TestAccECSTaskDefinition_EFSVolume
|
||||
- TestAccECSTaskDefinition_Fargate
|
||||
- TestAccECSTaskDefinition_ipcMode
|
||||
- TestAccECSTaskDefinition_constraint
|
||||
- TestAccECSTaskDefinition_tags
|
||||
- TestAccECSTaskDefinition_pidMode
|
||||
- TestAccECSTaskDefinition_executionRole
|
||||
- TestAccECSTaskDefinition_service
|
||||
- TestAccECSTaskDefinition_disappears
|
||||
- TestAccECSTaskDefinition_taskRoleARN
|
||||
- TestAccECSTaskDefinition_inferenceAccelerator
|
||||
- TestAccECSTaskDefinition_proxy
|
||||
- TestAccECSTaskDefinition_changeVolumesForcesNewResource
|
||||
- TestAccECSTaskDefinition_invalidContainerDefinition
|
||||
- TestAccECSTaskDefinition_arrays
|
||||
- TestAccECSTaskDefinition_scratchVolume
|
||||
- TestAccECSTaskDefinition_runtimePlatform
|
||||
- TestAccECSTaskDefinition_basic
|
||||
- TestAccECSTaskDefinition_networkMode
|
||||
efs:
|
||||
- TestAccEFSAccessPoint_
|
||||
- TestAccEFSAccessPointDataSource
|
||||
- TestAccEFSFileSystemDataSource_availabilityZone
|
||||
- TestAccEFSFileSystemDataSource_id
|
||||
- TestAccEFSFileSystemDataSource_name
|
||||
- TestAccEFSFileSystemDataSource_tags
|
||||
elasticbeanstalk:
|
||||
- TestAccElasticBeanstalkHostedZoneDataSource
|
||||
- TestAccElasticBeanstalkSolutionStackDataSource
|
||||
elb:
|
||||
- TestAccELBAttachment
|
||||
- TestAccELBBackendServerPolicy
|
||||
- TestAccELBHostedZoneIDDataSource
|
||||
- TestAccELBListenerPolicy_basic
|
||||
- TestAccELBListenerPolicy_disappears
|
||||
- TestAccELBServiceAccountDataSource
|
||||
- TestAccELBSSLNegotiationPolicy
|
||||
elbv2:
|
||||
- TestAccELBV2ListenerCertificate
|
||||
- TestAccELBV2TargetGroup_backwardsCompatibility
|
||||
- TestAccELBV2TargetGroup_ProtocolVersion_grpcHealthCheck
|
||||
- TestAccELBV2TargetGroup_ProtocolVersion_grpcUpdate
|
||||
- TestAccELBV2TargetGroup_ipAddressType
|
||||
- TestAccELBV2TargetGroup_tls
|
||||
- TestAccELBV2TargetGroup_HealthCheck_tcpHTTPS
|
||||
- TestAccELBV2TargetGroup_attrsOnCreate
|
||||
- TestAccELBV2TargetGroup_basic
|
||||
- TestAccELBV2TargetGroup_udp
|
||||
- TestAccELBV2TargetGroup_ForceNew_name
|
||||
- TestAccELBV2TargetGroup_ForceNew_vpc
|
||||
- TestAccELBV2TargetGroup_Defaults_application
|
||||
- TestAccELBV2TargetGroup_Defaults_network
|
||||
- TestAccELBV2TargetGroup_HealthCheck_enable
|
||||
- TestAccELBV2TargetGroup_Name_generated
|
||||
- TestAccELBV2TargetGroup_Name_prefix
|
||||
- TestAccELBV2TargetGroup_NetworkLB_tcpHealthCheckUpdated
|
||||
- TestAccELBV2TargetGroup_networkLB_TargetGroupWithConnectionTermination
|
||||
- TestAccELBV2TargetGroup_NetworkLB_targetGroupWithProxy
|
||||
- TestAccELBV2TargetGroup_preserveClientIPValid
|
||||
- TestAccELBV2TargetGroup_Geneve_basic
|
||||
- TestAccELBV2TargetGroup_Geneve_notSticky
|
||||
- TestAccELBV2TargetGroup_Geneve_Sticky
|
||||
- TestAccELBV2TargetGroup_Geneve_targetFailover
|
||||
- TestAccELBV2TargetGroup_Stickiness_defaultALB
|
||||
- TestAccELBV2TargetGroup_Stickiness_defaultNLB
|
||||
- TestAccELBV2TargetGroup_Stickiness_invalidALB
|
||||
- TestAccELBV2TargetGroup_Stickiness_invalidNLB
|
||||
- TestAccELBV2TargetGroup_Stickiness_validALB
|
||||
- TestAccELBV2TargetGroup_Stickiness_validNLB
|
||||
- TestAccELBV2TargetGroup_tags
|
||||
- TestAccELBV2TargetGroup_Stickiness_updateAppEnabled
|
||||
- TestAccELBV2TargetGroup_HealthCheck_update
|
||||
- TestAccELBV2TargetGroup_Stickiness_updateEnabled
|
||||
- TestAccELBV2TargetGroup_HealthCheck_without
|
||||
- TestAccELBV2TargetGroup_ALBAlias_basic
|
||||
- TestAccELBV2TargetGroup_ALBAlias_changeNameForceNew
|
||||
- TestAccELBV2TargetGroup_ALBAlias_changePortForceNew
|
||||
- TestAccELBV2TargetGroup_ALBAlias_changeProtocolForceNew
|
||||
- TestAccELBV2TargetGroup_ALBAlias_changeVPCForceNew
|
||||
- TestAccELBV2TargetGroup_ALBAlias_generatedName
|
||||
- TestAccELBV2TargetGroup_ALBAlias_lambda
|
||||
- TestAccELBV2TargetGroup_ALBAlias_lambdaMultiValueHeadersEnabled
|
||||
- TestAccELBV2TargetGroup_ALBAlias_missingPortProtocolVPC
|
||||
- TestAccELBV2TargetGroup_ALBAlias_namePrefix
|
||||
- TestAccELBV2TargetGroup_ALBAlias_setAndUpdateSlowStart
|
||||
- TestAccELBV2TargetGroup_ALBAlias_tags
|
||||
- TestAccELBV2TargetGroup_ALBAlias_updateHealthCheck
|
||||
- TestAccELBV2TargetGroup_ALBAlias_updateLoadBalancingAlgorithmType
|
||||
- TestAccELBV2TargetGroup_ALBAlias_updateLoadBalancingCrossZoneEnabled
|
||||
- TestAccELBV2TargetGroup_ALBAlias_updateStickinessEnabled
|
||||
- TestAccELBV2TargetGroup_Name_noDuplicates
|
||||
events:
|
||||
- TestAccEventsAPIDestination
|
||||
- TestAccEventsArchive
|
||||
- TestAccEventsBus
|
||||
- TestAccEventsBusPolicy
|
||||
- TestAccEventsConnection
|
||||
- TestAccEventsConnectionDataSource
|
||||
- TestAccEventsPermission
|
||||
- TestAccEventsRule
|
||||
- TestAccEventsTarget_basic
|
||||
- TestAccEventsTarget_batch
|
||||
- TestAccEventsTarget_disappears
|
||||
- TestAccEventsTarget_eventBusName
|
||||
- TestAccEventsTarget_ecs
|
||||
- TestAccEventsTarget_eventBusARN
|
||||
- TestAccEventsTarget_full
|
||||
- TestAccEventsTarget_generatedTargetID
|
||||
- TestAccEventsTarget_inputTransformer
|
||||
- TestAccEventsTarget_kinesis
|
||||
- TestAccEventsTarget_ssmDocument
|
||||
firehose:
|
||||
- TestAccFirehoseDeliveryStreamDataSource_basic
|
||||
- TestAccFirehoseDeliveryStream_basic
|
||||
- TestAccFirehoseDeliveryStream_missingProcessing
|
||||
- TestAccFirehoseDeliveryStream_HTTPEndpoint_retryDuration
|
||||
- TestAccFirehoseDeliveryStream_ExtendedS3_
|
||||
- TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioningUpdate
|
||||
- TestAccFirehoseDeliveryStream_extendedS3DynamicPartitioning
|
||||
- TestAccFirehoseDeliveryStream_extendedS3KMSKeyARN
|
||||
- TestAccFirehoseDeliveryStream_ExtendedS3Processing_empty
|
||||
- TestAccFirehoseDeliveryStream_extendedS3Updates
|
||||
- TestAccFirehoseDeliveryStream_s3
|
||||
- TestAccFirehoseDeliveryStream_HTTP
|
||||
- TestAccFirehoseDeliveryStream_http
|
||||
- TestAccFirehoseDeliveryStream_splunk
|
||||
- TestAccFirehoseDeliveryStream_Splunk
|
||||
glue:
|
||||
- TestAccGlueSchema_
|
||||
guardduty:
|
||||
- TestAccGuardDuty_serial/Detector/basic
|
||||
- TestAccGuardDuty_serial/Filter/basic
|
||||
iam:
|
||||
- TestAccIAMAccessKey_
|
||||
- TestAccIAMAccountAlias_
|
||||
- TestAccIAMGroup_basic
|
||||
- TestAccIAMGroup_disappears
|
||||
- TestAccIAMGroup_nameChange
|
||||
- TestAccIAMInstanceProfileDataSource_
|
||||
- TestAccIAMGroupPolicy_
|
||||
- TestAccIAMOpenIDConnectProvider_
|
||||
- TestAccIAMOpenidConnectProviderDataSource_
|
||||
- TestAccIAMPolicy_
|
||||
- TestAccIAMPolicyDataSource_
|
||||
- TestAccIAMPolicyDocumentDataSource_
|
||||
- TestAccIAMRoleDataSource_
|
||||
- TestAccIAMRolePolicy_
|
||||
- TestAccIAMRolePolicyAttachment_
|
||||
- TestAccIAMSessionContextDataSource_
|
||||
- TestAccIAMServiceLinkedRole
|
||||
- TestAccIAMUserDataSource_
|
||||
- TestAccIAMUserPolicy_
|
||||
- TestAccIAMUserPolicyAttachment_
|
||||
- TestAccIAMUserSSHKey_
|
||||
- TestAccIAMUserSSHKeyDataSource_
|
||||
iot:
|
||||
- TestAccIoTEndpointDataSource
|
||||
kinesis:
|
||||
- TestAccKinesisStreamConsumerDataSource_
|
||||
- TestAccKinesisStreamConsumer_
|
||||
- TestAccKinesisStreamDataSource_
|
||||
- TestAccKinesisStream_
|
||||
kms:
|
||||
- TestAccKMSAlias
|
||||
- TestAccKMSGrant_arn
|
||||
- TestAccKMSGrant_asymmetricKey
|
||||
- TestAccKMSGrant_basic
|
||||
- TestAccKMSGrant_bare
|
||||
- TestAccKMSGrant_withConstraints
|
||||
- TestAccKMSGrant_withRetiringPrincipal
|
||||
- TestAccKMSKey_Policy_basic
|
||||
- TestAccKMSKey_Policy_iamRole
|
||||
- TestAccKMSKey_Policy_iamRoleOrder
|
||||
- TestAccKMSKey_Policy_iamServiceLinkedRole
|
||||
- TestAccKMSSecretDataSource
|
||||
- TestAccKMSSecretsDataSource
|
||||
lakeformation:
|
||||
- TestAccLakeFormationResource
|
||||
lambda:
|
||||
- TestAccLambdaAlias_
|
||||
- TestAccLambdaLayerVersion_basic
|
||||
- TestAccLambdaLayerVersion_compatibleArchitectures
|
||||
- TestAccLambdaLayerVersion_compatibleRuntimes
|
||||
- TestAccLambdaLayerVersion_licenseInfo
|
||||
- TestAccLambdaLayerVersion_s3
|
||||
- TestAccLambdaLayerVersion_update
|
||||
- TestAccLambdaFunctionURL_Alias
|
||||
- TestAccLambdaFunctionURL_basic
|
||||
- TestAccLambdaFunctionURL_TwoURLs
|
||||
logs:
|
||||
- TestAccLogsDestination_
|
||||
- TestAccLogsGroupDataSource_basic
|
||||
- TestAccLogsGroupsDataSource_basic
|
||||
- TestAccLogsGroup_basic
|
||||
- TestAccLogsGroup_tags
|
||||
- TestAccLogsStream
|
||||
meta:
|
||||
- TestAccMetaBillingServiceAccountDataSource
|
||||
mq:
|
||||
- TestAccMQBrokerDataSource
|
||||
- TestAccMQBroker_
|
||||
neptune:
|
||||
- TestAccNeptuneCluster_basic
|
||||
- TestAccNeptuneCluster_namePrefix
|
||||
- TestAccNeptuneCluster_serverlessConfiguration
|
||||
- TestAccNeptuneCluster_encrypted
|
||||
- TestAccNeptuneCluster_backupsUpdate
|
||||
- TestAccNeptuneCluster_kmsKey
|
||||
- TestAccNeptuneCluster_tags
|
||||
- TestAccNeptuneCluster_disappears
|
||||
- TestAccNeptuneGlobalCluster_basic
|
||||
opensearch:
|
||||
- TestAccOpenSearchDomain_basic
|
||||
- TestAccOpenSearchDomain_LogPublishingOptions_searchSlowLogs
|
||||
- TestAccOpenSearchDomain_AdvancedSecurityOptions
|
||||
- TestAccOpenSearchDomain_autoTuneOptions
|
||||
- TestAccOpenSearchDomain_v23
|
||||
- TestAccOpenSearchDomain_Cluster_
|
||||
- TestAccOpenSearchDomain_disappears
|
||||
- TestAccOpenSearchDomain_VolumeType
|
||||
- TestAccOpenSearchDomain_VPC_
|
||||
- TestAccOpenSearchDomain_Encryption_
|
||||
- TestAccOpenSearchDomain_LogPublishingOptions_
|
||||
- TestAccOpenSearchDomain_Policy_
|
||||
- TestAccOpenSearchDomain_requireHTTPS
|
||||
- TestAccOpenSearchDomain_tags
|
||||
- TestAccOpenSearchDomain_customEndpoint
|
||||
quicksight:
|
||||
- TestAccQuickSightUser
|
||||
- TestAccQuickSightGroup_
|
||||
rds:
|
||||
- TestAccRDSCluster_basic
|
||||
- TestAccRDSCluster_disappears
|
||||
- TestAccRDSCluster_EnabledCloudWatchLogsExports_
|
||||
- TestAccRDSCluster_enableHTTPEndpoint
|
||||
- TestAccRDSCluster_engineMode
|
||||
- TestAccRDSCluster_EngineMode
|
||||
- TestAccRDSCluster_GlobalClusterIdentifierEngineMode_
|
||||
- TestAccRDSCluster_identifier
|
||||
- TestAccRDSCluster_tags
|
||||
- TestAccRDSGlobalCluster_basic
|
||||
- TestAccRDSGlobalCluster_storageEncrypted
|
||||
redshift:
|
||||
- TestAccRedshiftServiceAccountDataSource
|
||||
route53|1:
|
||||
- TestAccRoute53Record_basic
|
||||
- TestAccRoute53Record_underscored
|
||||
- TestAccRoute53Record_disappears
|
||||
- TestAccRoute53Record_Disappears_multipleRecords
|
||||
- TestAccRoute53Record_Basic_fqdn
|
||||
- TestAccRoute53Record_Basic_trailingPeriodAndZoneID
|
||||
- TestAccRoute53Record_txtSupport
|
||||
- TestAccRoute53Record_spfSupport
|
||||
- TestAccRoute53Record_caaSupport
|
||||
- TestAccRoute53Record_dsSupport
|
||||
- TestAccRoute53Record_generatesSuffix
|
||||
- TestAccRoute53Record_wildcard
|
||||
- TestAccRoute53Record_failover
|
||||
- TestAccRoute53Record_Weighted_basic
|
||||
- TestAccRoute53Record_WeightedToSimple_basic
|
||||
- TestAccRoute53Record_Alias_s3
|
||||
- TestAccRoute53Record_Geolocation_basic
|
||||
- TestAccRoute53Record_HealthCheckID_setIdentifierChange
|
||||
- TestAccRoute53Record_HealthCheckID_typeChange
|
||||
- TestAccRoute53Record_Latency_basic
|
||||
- TestAccRoute53Record_typeChange
|
||||
- TestAccRoute53Record_nameChange
|
||||
- TestAccRoute53Record_setIdentifierChange
|
||||
- TestAccRoute53Record_empty
|
||||
- TestAccRoute53Record_longTXTrecord
|
||||
- TestAccRoute53Record_Allow_doNotOverwrite
|
||||
- TestAccRoute53Record_Allow_overwrite
|
||||
route53|2:
|
||||
- TestAccRoute53Zone_
|
||||
- TestAccRoute53ZoneAssociation_basic
|
||||
- TestAccRoute53ZoneAssociation_disappears
|
||||
- TestAccRoute53ZoneAssociation_Disappears
|
||||
- TestAccRoute53ZoneAssociation_crossRegion
|
||||
- TestAccRoute53ZoneDataSource_id
|
||||
- TestAccRoute53ZoneDataSource_name
|
||||
- TestAccRoute53ZoneDataSource_tags
|
||||
- TestAccRoute53ZoneDataSource_vpc
|
||||
- TestAccRoute53HealthCheck_basic
|
||||
- TestAccRoute53HealthCheck_tags
|
||||
- TestAccRoute53HealthCheck_withSearchString
|
||||
- TestAccRoute53HealthCheck_withChildHealthChecks
|
||||
- TestAccRoute53HealthCheck_withHealthCheckRegions
|
||||
- TestAccRoute53HealthCheck_ip
|
||||
- TestAccRoute53HealthCheck_ipv6
|
||||
- TestAccRoute53HealthCheck_withSNI
|
||||
- TestAccRoute53HealthCheck_disabled
|
||||
- TestAccRoute53HealthCheck_disappears
|
||||
- TestAccRoute53ResolverEndpoint
|
||||
s3:
|
||||
- TestAccS3Bucket_Basic_forceDestroyWithEmptyPrefixes
|
||||
- TestAccS3Bucket_Basic_namePrefix
|
||||
- TestAccS3Bucket_Basic_keyEnabled
|
||||
- TestAccS3Bucket_Basic_forceDestroyWithObjectLockEnabled
|
||||
- TestAccS3Bucket_Basic_generatedName
|
||||
- TestAccS3Bucket_Basic_acceleration
|
||||
- TestAccS3Bucket_Basic_forceDestroy
|
||||
- TestAccS3Bucket_Basic_emptyString
|
||||
- TestAccS3BucketPolicy
|
||||
- TestAccS3BucketPublicAccessBlock
|
||||
- TestAccS3BucketVersioning_basic
|
||||
- TestAccS3BucketVersioning_disappears
|
||||
- TestAccS3BucketVersioning_update
|
||||
- TestAccS3BucketVersioning_Status_
|
||||
- TestAccS3ObjectCopy
|
||||
- TestAccS3Object_noNameNoKey
|
||||
- TestAccS3Object_sse
|
||||
- TestAccS3Object_kms
|
||||
- TestAccS3Object_empty
|
||||
- TestAccS3Object_source
|
||||
- TestAccS3Object_content
|
||||
- TestAccS3Object_etagEncryption
|
||||
- TestAccS3Object_contentBase64
|
||||
- TestAccS3Object_sourceHashTrigger
|
||||
- TestAccS3Object_withContentCharacteristics
|
||||
- TestAccS3Object_nonVersioned
|
||||
- TestAccS3Object_acl
|
||||
- TestAccS3Object_metadata
|
||||
- TestAccS3Object_tags
|
||||
- TestAccS3ObjectDataSource_kmsEncrypted
|
||||
- TestAccS3ObjectDataSource_readableBody
|
||||
- TestAccS3ObjectDataSource_bucketKeyEnabled
|
||||
- TestAccS3ObjectDataSource_allParams
|
||||
- TestAccS3ObjectDataSource_object
|
||||
- TestAccS3ObjectDataSource_leadingSlash
|
||||
- TestAccS3ObjectDataSource_multipleSlashes
|
||||
- TestAccS3ObjectDataSource_singleSlashAsKey
|
||||
- TestAccS3ObjectsDataSource_all
|
||||
- TestAccS3ObjectsDataSource_prefixes
|
||||
- TestAccS3ObjectsDataSource_maxKeys
|
||||
- TestAccS3ObjectsDataSource_startAfter
|
||||
- TestAccS3ObjectsDataSource_fetchOwner
|
||||
sagemaker:
|
||||
- TestAccSageMakerPrebuiltECRImageDataSource
|
||||
scheduler:
|
||||
- TestAccSchedulerSchedule_
|
||||
- TestAccSchedulerScheduleGroup_
|
||||
secretsmanager:
|
||||
- TestAccSecretsManagerSecretDataSource_basic
|
||||
- TestAccSecretsManagerSecretPolicy_
|
||||
- TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate
|
||||
- TestAccSecretsManagerSecret_tags
|
||||
- TestAccSecretsManagerSecret_kmsKeyID
|
||||
- TestAccSecretsManagerSecret_withNamePrefix
|
||||
- TestAccSecretsManagerSecret_rotationRules
|
||||
servicediscovery:
|
||||
- TestAccServiceDiscoveryDNSNamespaceDataSource
|
||||
- TestAccServiceDiscoveryHTTPNamespace
|
||||
- TestAccServiceDiscoveryPrivateDNSNamespace
|
||||
- TestAccServiceDiscoveryPublicDNSNamespace
|
||||
- TestAccServiceDiscoveryService_disappears
|
||||
- TestAccServiceDiscoveryService_http
|
||||
- TestAccServiceDiscoveryService_tags
|
||||
- TestAccServiceDiscoveryService_private_http
|
||||
- TestAccServiceDiscoveryService_public
|
||||
signer:
|
||||
- TestAccSignerSigningProfileDataSource_basic
|
||||
- TestAccSignerSigningProfile_basic
|
||||
- TestAccSignerSigningProfile_generateNameWithNamePrefix
|
||||
- TestAccSignerSigningProfile_generateName
|
||||
- TestAccSignerSigningProfile_tags
|
||||
- TestAccSignerSigningProfile_signatureValidityPeriod
|
||||
sns:
|
||||
- TestAccSNSTopicPolicy
|
||||
- TestAccSNSTopicDataSource
|
||||
- TestAccSNSSMSPreferences
|
||||
ssm:
|
||||
- TestAccSSMDocumentDataSource_basic
|
||||
- TestAccSSMDocument_
|
||||
sts:
|
||||
- TestAccSTSCallerIdentityDataSource
|
||||
sqs:
|
||||
- TestAccSQSQueueDataSource
|
||||
- TestAccSQSQueuePolicy
|
||||
- TestAccSQSQueue_FIFOQueue_
|
||||
timestreamwrite:
|
||||
- TestAccTimestreamWriteDatabase
|
||||
- TestAccTimestreamWriteTable
|
||||
wafv2:
|
||||
- TestAccWAFV2WebACL_basic
|
||||
- TestAccWAFV2WebACL_disappears
|
||||
- TestAccWAFV2WebACL_minimal
|
||||
- TestAccWAFV2WebACL_tags
|
||||
- TestAccWAFV2WebACL_Update_rule
|
||||
- TestAccWAFV2WebACL_RuleLabels
|
@ -1,9 +0,0 @@
|
||||
var http = require('http')
|
||||
|
||||
exports.handler = function(event, context) {
|
||||
http.get("http://requestb.in/10m32wg1", function(res) {
|
||||
console.log("success", res.statusCode, res.body)
|
||||
}).on('error', function(e) {
|
||||
console.log("error", e)
|
||||
})
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
var http = require('http')
|
||||
|
||||
exports.handler = function(event, context) {
|
||||
http.get("http://requestb.in/MODIFIED", function(res) {
|
||||
console.log("success", res.statusCode, res.body)
|
||||
}).on('error', function(e) {
|
||||
console.log("error", e)
|
||||
})
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
exports.handler = async (event) => {
|
||||
if (process.env.TEST_DATA) {
|
||||
event.key3 = process.env.TEST_DATA;
|
||||
}
|
||||
return event;
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user