Skip to content

Commit 51cb29d

Browse files
feat: [PL-58650]: Terraform Changes for Add support for configuring recovery duration in AWS Secrets Manager Connector for secret deletion flow (#620)
1 parent 860eb1d commit 51cb29d

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

harness/cd/unpublished/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ type SecretManager struct {
6060
KeyName string `json:"keyName,omitempty"`
6161
Credentials string `json:"credentials,omitempty"`
6262
UsePutSecret bool `json:"usePutSecret,omitempty"`
63+
ForceDeleteWithoutRecovery bool `json:"forceDeleteWithoutRecovery,omitempty"`
64+
RecoveryWindowInDays int64 `json:"recoveryWindowInDays,omitempty"`
6365
}
6466

6567
type User struct {
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# AwsSecretManager
22

33
## Properties
4-
Name | Type | Description | Notes
5-
------------ | ------------- | ------------- | -------------
6-
**Credential** | [***AwsSecretManagerCredential**](AwsSecretManagerCredential.md) | | [default to null]
7-
**Region** | **string** | | [default to null]
8-
**SecretNamePrefix** | **string** | | [optional] [default to null]
9-
**DelegateSelectors** | **[]string** | | [optional] [default to null]
10-
**Default_** | **bool** | | [optional] [default to null]
11-
**UsePutSecret** | **bool** | | [optional] [default to null]
12-
4+
Name | Type | Description | Notes
5+
------------ | ------------- |-------------------------------|-------------------------------
6+
**Credential** | [***AwsSecretManagerCredential**](AwsSecretManagerCredential.md) | | [default to null]
7+
**Region** | **string** | | [default to null]
8+
**SecretNamePrefix** | **string** | | [optional] [default to null]
9+
**DelegateSelectors** | **[]string** | | [optional] [default to null]
10+
**Default_** | **bool** | | [optional] [default to null]
11+
**UsePutSecret** | **bool** | | [optional] [default to null]
12+
**ForceDeleteWithoutRecovery** | **bool** | | [optional] [default to false] | | [optional] [default to false]
13+
**RecoveryWindowInDays** | **long** | |[optional] [default to null]
1314
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1415

harness/nextgen/model_aws_secret_manager.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ type AwsSecretManager struct {
2020
DelegateSelectors []string `json:"delegateSelectors,omitempty"`
2121
Default_ bool `json:"default,omitempty"`
2222
UsePutSecret bool `json:"usePutSecret,omitempty"`
23+
ForceDeleteWithoutRecovery bool `json:"forceDeleteWithoutRecovery,omitempty"`
24+
RecoveryWindowInDays int64 `json:"recoveryWindowInDays,omitempty"`
2325
}

0 commit comments

Comments
 (0)