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

[New resource] AWS Backup logically air gapped vault #39098

Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2c0944f
[New Resource] aws_backup_logically_air_gapped_vault
aristosvo Aug 13, 2024
6634f64
docs fix
aristosvo Aug 30, 2024
83fa18b
changelog
aristosvo Aug 30, 2024
2b3f914
fix imports
aristosvo Aug 30, 2024
01a3b11
semgrep fixes
aristosvo Aug 30, 2024
93203b9
Merge branch 'main' into HEAD
ewbankkit Oct 2, 2024
2775ba8
r/aws_backup_logically_air_gapped_vault: Tidy up.
ewbankkit Oct 2, 2024
6956ad6
Acceptance test output:
ewbankkit Oct 2, 2024
af25a50
r/aws_backup_framework: Reduce visibility.
ewbankkit Oct 2, 2024
5bd9db4
d/aws_backup_framework: Reduce visibility.
ewbankkit Oct 2, 2024
77ba805
'testAccFramework_updateTags' -> 'testAccFramework_tags'.
ewbankkit Oct 2, 2024
480be4e
Remove 'testAccFrameworkDataSource_controlScopeTag'.
ewbankkit Oct 2, 2024
595d6ec
r/aws_backup_global_settings: Reduce visibility.
ewbankkit Oct 2, 2024
ecd4d09
r/aws_backup_region_settings: Reduce visibility.
ewbankkit Oct 2, 2024
334c676
r/aws_backup_plan: Reduce visibility.
ewbankkit Oct 2, 2024
f724367
d/aws_backup_plan: Reduce visibility.
ewbankkit Oct 2, 2024
68e2b5f
r/aws_backup_report_plan: Reduce visibility.
ewbankkit Oct 2, 2024
c549d9f
d/aws_backup_report_plan: Reduce visibility.
ewbankkit Oct 2, 2024
c33c603
r/aws_backup_selection: Reduce visibility.
ewbankkit Oct 2, 2024
6ba32b5
d/aws_backup_selection: Reduce visibility.
ewbankkit Oct 2, 2024
97de21c
r/aws_backup_vault_lock_configuration: Reduce visibility.
ewbankkit Oct 2, 2024
5e60aca
r/aws_backup_vault_notifications: Reduce visibility.
ewbankkit Oct 2, 2024
8ccd5b8
r/aws_backup_vault_policy: Reduce visibility.
ewbankkit Oct 2, 2024
9c2ce1f
r/aws_backup_vault: Reduce visibility.
ewbankkit Oct 2, 2024
f472cce
d/aws_backup_vault: Reduce visibility.
ewbankkit Oct 2, 2024
8e2a75a
Fix semgrep 'ci.semgrep.framework.flex-type-from-framework'.
ewbankkit Oct 2, 2024
a4b4e28
Fix semgrep 'ci.backup-in-func-name' and 'ci.backup-in-var-name'.
ewbankkit Oct 2, 2024
18410ce
Cosmetics.
ewbankkit Oct 2, 2024
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
3 changes: 3 additions & 0 deletions .changelog/39098.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
aws_backup_logically_air_gapped_vault
```
10 changes: 1 addition & 9 deletions internal/service/backup/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@ package backup
import "time"

const (
iamPropagationTimeout = 2 * time.Minute
)

const (
frameworkStatusCompleted = "COMPLETED"
frameworkStatusCreationInProgress = "CREATE_IN_PROGRESS"
frameworkStatusDeletionInProgress = "DELETE_IN_PROGRESS"
frameworkStatusFailed = "FAILED"
frameworkStatusUpdateInProgress = "UPDATE_IN_PROGRESS"
propagationTimeout = 2 * time.Minute
)

const (
Expand Down
24 changes: 22 additions & 2 deletions internal/service/backup/exports_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ package backup

// Exports for use in tests only.
var (
FindVaultAccessPolicyByName = findVaultAccessPolicyByName
FindVaultByName = findVaultByName
ResourceFramework = resourceFramework
ResourceGlobalSettings = resourceGlobalSettings
ResourceLogicallyAirGappedVault = newLogicallyAirGappedVaultResource
ResourcePlan = resourcePlan
ResourceRegionSettings = resourceRegionSettings
ResourceReportPlan = resourceReportPlan
ResourceSelection = resourceSelection
ResourceVault = resourceVault
ResourceVaultLockConfiguration = resourceVaultLockConfiguration
ResourceVaultNotifications = resourceVaultNotifications
ResourceVaultPolicy = resourceVaultPolicy

FindBackupVaultByName = findBackupVaultByName // nosemgrep:ci.backup-in-var-name
FindFrameworkByName = findFrameworkByName
FindGlobalSettings = findGlobalSettings
FindLogicallyAirGappedBackupVaultByName = findLogicallyAirGappedBackupVaultByName // nosemgrep:ci.backup-in-var-name
FindPlanByID = findPlanByID
FindRegionSettings = findRegionSettings
FindReportPlanByName = findReportPlanByName
FindSelectionByTwoPartKey = findSelectionByTwoPartKey
FindVaultAccessPolicyByName = findVaultAccessPolicyByName
FindVaultNotificationsByName = findVaultNotificationsByName
)
138 changes: 0 additions & 138 deletions internal/service/backup/find.go

This file was deleted.

Loading
Loading