Config rules, tags and remediation
Detect drift before correcting it
AWS Config records supported resource configurations and evaluates rules. A detective rule reports noncompliance; a supported proactive evaluation can assess proposed properties but does not itself block deployment. CloudFormation drift detection compares supported properties with the expected template configuration. A stale compliance result can trigger unnecessary remediation, so re-read current state, check ownership and exemptions, then choose a bounded corrective action. Do not fight the IaC controller: correct the source template when it owns the setting.
Tags and governance across accounts
Use tags such as Environment=dev and Owner=platform to organize Resource Groups and allocate costs; tags are not proof of authorization. Organizations tag policies standardize key spelling and values for supported resources. Basic compliance enforcement does not force absent tags to appear. Required tag keys for supported IaC deployments are a separate feature: configure the applicable hook or tool integration and test warning before enforcement. Config rules or supported IAM/SCP conditions can address other missing-tag cases. StackSets distribute a common CloudFormation template across selected accounts and Regions; use limited concurrency, failure tolerance and inspect individual stack results. Service Catalog offers curated products and launch constraints.
Choose the operational signal
Trusted Advisor recommends improvements based on available checks; coverage varies by support plan. AWS Health reports service events and account-specific impacts. The documented Health API requires Business Support+, Enterprise Support or Unified Operations; Config-powered Trusted Advisor checks also require one of these plans. Service Quotas shows supported quota values and allows eligible increase requests; an approved request is not immediate capacity. Check the actual account and Region before designing automation around any of these signals. Budget Config recording/evaluation, remediation steps, logs and support charges.
Practice with a stale observation
Suppose Config reported a missing Owner tag at 09:00 and the approved IaC deployment added it at 09:05. At 09:10 an automation reads the old result. A safe action is to inspect the live state, confirm the expected owner from the source of truth and skip the write if correct. If the owner remains unknown, open a review rather than inventing a value. Record the decision, then verify the next evaluation. No live changes are part of this exercise.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Config rules, tags and remediation — knowledge check
Reason about fleet management, safe change and governance.
Why re-read resource state before Config remediation?
Does basic tag-policy enforcement require missing tags?
Which service distributes a template to selected accounts and Regions?
Which signal reports AWS service events and account impacts?
What does an approved quota increase guarantee?