Skip to content

Commit 0824777

Browse files
committed
chore: update test to handle CloudFormation API change
The CloudFormation API now reports tag-only changes to `AWS::SecretsManager::Secret` with `ResourceTargetDefinition::Properties`.
1 parent 72fe8e1 commit 0824777

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/it/change_set_detail.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ async fn secrets_manager_secret_tags_only() -> Result<(), Box<dyn std::error::Er
8888
.flatten()
8989
.collect();
9090
assert!(!targets.is_empty());
91-
assert!(targets
92-
.iter()
93-
.all(|target| matches!(target, ResourceTargetDefinition::Tags)));
91+
assert!(targets.iter().all(|target| matches!(
92+
target,
93+
ResourceTargetDefinition::Properties { name, .. } if name == "Tags"
94+
)));
9495

9596
clean_up(stack_name).await?;
9697

0 commit comments

Comments
 (0)