Comments (10)
Hi @jaydeland, thanks for trying driftctl. I'm sorry for this bug.
Can you try to execute the same command that caused this issue, with the --error-reporting
flag, so we can debug more easily?
docker run -t --rm -v ~/.aws:/home/.aws:ro -v $(pwd):/tf:ro -v ~/.driftctl:/home/.driftctl -e AWS_PROFILE=$AWS_PROFILE -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -e AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN cloudskiff/driftctl --error-reporting scan --from tfstate:///tf/users/.terraform/terraform.tfstate
Also, you can help by launching driftctl docker image with the environment variable -e LOG_LEVEL=debug
and post the result.
Thanks for your help!
from driftctl.
Here you go:
unable to run driftctl
Sending error report ...WARN[0002] Error reading iam user ***************[aws_iam_user]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam user ******************[aws_iam_user]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam user circleci-prbuilds[aws_iam_user]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam user ******************************[aws_iam_user]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam user cert-manager[aws_iam_user]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam user gitlab-GitHubManagement[aws_iam_user]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam role AWS-SystemsManager-AutomationAdministrationRole[aws_iam_role]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam role AWS-Health-Mattermost-role-wrmnocwt[aws_iam_role]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam role AWSServiceRoleForAmazonElasticsearchService[aws_iam_role]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam role AWSServiceRoleForBackup[aws_iam_role]: rpc error: code = Canceled desc = context canceled
WARN[0002] Error reading iam role AWS-SystemsManager-AutomationExecutionRole[aws_iam_role]: rpc error: code = Canceled desc = context canceled
done, thank you ❤️
from driftctl.
@jaydeland, we could replicate the issue, thanks to your help!
something is wrong on our side, related to S3 buckets regions.
We'll keep you posted here.
This is very possibly linked to #73 too.
from driftctl.
Awesome - glad to help!
from driftctl.
Hey @jaydeland, could you try again with the new 0.2.3 release? it may very well fix your issue if you had S3 buckets in us-east-1.
from driftctl.
Yup - the new build worked:
Found 924 resource(s)
- 0% coverage
- 0 covered by IaC
- 924 not covered by IaC
- 0 deleted on cloud provider
- 0/0 drifted from IaC
Sending error report ... done, thank you ❤️
from driftctl.
The not covered is due to me running this on a terraform project that is using the github provider and not AWS
from driftctl.
that's great! Thanks for your help and allowing reporting. It helped a lot.
Is supporting GitHub resources a major requirement for you? It's on our roadmap but we're still prioritizing.
from driftctl.
that's great! Thanks for your help and allowing reporting. It helped a lot.
Is supporting GitHub resources a major requirement for you? It's on our roadmap but we're still prioritizing.
We are using it to Manage our Organization within GitHub and I am working on adding support for GitLab as well.
from driftctl.
Thanks for you feedback @jaydeland, glad to see you finally achieved a successful run of driftctl. I'm closing this one as the issue you initially reported seems resolved.
from driftctl.
Related Issues (20)
- Add Support For AWS Resource SSM
- Add Support for AWS Resource EKS
- No AWS provider error handler on detailed resource read
- feature request to update the contribution guide
- driftctl hangs. HOT 1
- Add support for configuration file instead of DCTL_ environment variables or command line flags
- Errors reading state files generated by terraform aws provider 5.*
- attribute "vm_protection_enabled" is required
- Out of sync issue with aws instance
- unsupported attribute "disable_execute_api_endpoint" for aws_api_gateway_rest_api
- unsupported attribute "blue_green_update" for aws_db_instance
- aws_route53_record validation error(s) found
- Unable to decode resource from state name=replicas type=google_sql_database_instance
- aws_db_instance: false positive not being covered by IaC
- .driftignore: Inline comments being ignored
- Driftcl scan is not showing drifted rescources HOT 4
- 0.40.0 release did not get completed HOT 2
- driftctl results in GCP not working as expected HOT 1
- Add support for AWS secrets
- driftctl.com is not accessible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from driftctl.