Driftcl scan is not showing drifted rescources
Description I am currently testing driftctl on our pipelines. In the project I am running it on, it is not showing drifted resources when i try manually update resources from console. Still O/P doesn't show that resource is drift. As well it claims that our aws_db_instance is not covered by IaC. This seems to be a false positive, as it is created and managed by Terraform.
Environment
- OS: ubuntu
- driftctl version: v0.39.0
- terraform version: 1.0.10
- terraform providers versions: aws = 3.63.0
Could you please help me how i can resolve this issue.
Regards, Alika Khare
Team Could you please help to resolve the issue.
Team,
Can i get some help on the reported observation to fix.
Hi Team,
Please find the attached log details to support the it is not showing the drifted resources.
- Created bucket "my-drift-bucket" via terraform . Please find the attached terraform state file.
- After creating the above bucket it is currently showing that it is managed by terraform .
Report ( Attaching the report for reference as well )
"summary": {
"total_resources": 434,
"total_changed": 0,
"total_unmanaged": 433,
"total_missing": 0,
**"total_managed": 1,**
"total_iac_source_count": 1
},
**"managed": [
{
"id": "my-drift-bucket",
"type": "aws_s3_bucket",
"source": {
"source": "tfstate://terraform.tfstate",
"namespace": "",
"internal_name": "example"
}
}
],**
- After this we made change to s3 bucket from aws console and enabled the versioning for bucket. And after that as well there was no change to report.```
Can someone share the input on this issue to resolve the issue so that we can adopt the driftctl managment tool to find out the drifted resources
@alikakhare3 hi did you ever find a solution to this?