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

Out of sync issue with aws instance #1676

Open
pandi-e opened this issue Jun 28, 2023 · 0 comments
Open

Out of sync issue with aws instance #1676

pandi-e opened this issue Jun 28, 2023 · 0 comments
Labels
kind/bug Something isn't working

Comments

@pandi-e
Copy link

pandi-e commented Jun 28, 2023

Description
Out of sync issue with aws instance

Environment

  • OS: Windows
  • driftctl version: 0.39
  • terraform version: 1.5.1
  • terraform providers versions: aws 5.5.0

How to reproduce

user_data_replace_on_changel exists solely within Terraform, to control Terraform’s behaviour when user data is updated. It does not exist within AWS at all.

/Possible Solution

Additional context

Hi, I have tried driftctl scan --from tfstate://terraform.tfstate --only-managed to scan my resources. user_data_replace_on_change is true in the TFstatefile, but I don't know why it's throwing this error. Please, someone help me with this. Thank you in advance.

Scanned states (1)
Found changed resources:
From tfstate://terraform.tfstate
- i-096b673059784eed9 (aws_instance.main):
Name: sta-aza_ec2
user_data_replace_on_change: true =>

  • i-0a381030721492ff8 (aws_instance.main):
    Name: sta-azc_ec2
    user_data_replace_on_change: true =>
    Found 18 resource(s)
  • 100% coverage
  • 18 resource(s) managed by Terraform
    • 2/18 resource(s) out of sync with Terraform state
  • 0 resource(s) found in a Terraform state but missing on the cloud provider

** user_data_replace_on_change: true => nil**

@pandi-e pandi-e added the kind/bug Something isn't working label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant