Merge branch 'main' into aws_route_table
commit
a125839d9b
|
@ -41,6 +41,11 @@ driftctl tracks how well your IaC codebase covers your cloud configuration. drif
|
||||||
- Allow users to **ignore** resources
|
- Allow users to **ignore** resources
|
||||||
- Multiple output formats
|
- Multiple output formats
|
||||||
|
|
||||||
|
## Documentation & support
|
||||||
|
|
||||||
|
- [User guide](doc/README.md)
|
||||||
|
- [Discord](https://discord.gg/eYGHUa75Q2)
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
@ -152,10 +157,6 @@ $ AWS_PROFILE=profile_name driftctl scan
|
||||||
# With state stored on a s3 backend
|
# With state stored on a s3 backend
|
||||||
$ driftctl scan --from tfstate+s3://my-bucket/path/to/state.tfstate
|
$ driftctl scan --from tfstate+s3://my-bucket/path/to/state.tfstate
|
||||||
```
|
```
|
||||||
## Documentation & support
|
|
||||||
|
|
||||||
- [User guide](doc/README.md)
|
|
||||||
- [Discord](https://discord.gg/eYGHUa75Q2)
|
|
||||||
|
|
||||||
## Contribute
|
## Contribute
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,12 @@ You can now use driftctl by overriding the profile setting.
|
||||||
$ AWS_PROFILE=driftctlrole driftctl scan
|
$ AWS_PROFILE=driftctlrole driftctl scan
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## CloudFormation template
|
||||||
|
|
||||||
|
Deploy this CloudFormation template to create our limited permission role that you can use as per our above authentication guide.
|
||||||
|
|
||||||
|
[![Launch Stack](https://cdn.rawgit.com/buildkite/cloudformation-launch-stack-button-svg/master/launch-stack.svg)](https://console.aws.amazon.com/cloudformation/home?#/stacks/new?stackName=driftctl-stack&templateURL=https://driftctl-cfn-templates.s3.eu-west-3.amazonaws.com/driftctl-role.yml)
|
||||||
|
|
||||||
## Least privileged policy
|
## Least privileged policy
|
||||||
|
|
||||||
Driftctl needs access to your cloud provider account so that it can list resources on your behalf.
|
Driftctl needs access to your cloud provider account so that it can list resources on your behalf.
|
||||||
|
|
|
@ -86,5 +86,5 @@ func (r *ScanResult) AssertDriftCountTotal(count int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r ScanResult) AssertInfrastructureIsInSync() {
|
func (r ScanResult) AssertInfrastructureIsInSync() {
|
||||||
r.Equal(true, r.Analysis.IsSync(), "Infrastructure is not in sync")
|
r.Equal(true, r.Analysis.IsSync(), fmt.Sprintf("Infrastructure is not in sync: %+v", r.Analysis.Summary()))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue