Merge pull request #1338 from snyk/chore/capitalize-terraform

Capitalize terraform in output
main
Raphaël 2022-01-31 10:33:42 +04:00 committed by GitHub
commit 4051e58683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 8 deletions

View File

@ -77,7 +77,7 @@ func run() int {
if checkVersion {
newVersion := <-latestVersionChan
if newVersion != "" {
_, _ = fmt.Fprintln(os.Stderr, "\n\nYour version of driftctl is outdated, please upgrade !")
_, _ = fmt.Fprintln(os.Stderr, "\n\nYour version of driftctl is outdated, please upgrade!")
_, _ = fmt.Fprintf(os.Stderr, "Current: %s; Latest: %s\n", version.Current(), newVersion)
}
}

View File

@ -201,7 +201,7 @@ func (c Console) writeSummary(analysis *analyser.Analysis) {
if analysis.Summary().TotalManaged > 0 {
managed = warningWriter.Sprintf("%d", analysis.Summary().TotalManaged)
}
fmt.Printf(" - %s resource(s) managed by terraform\n", managed)
fmt.Printf(" - %s resource(s) managed by Terraform\n", managed)
drifted := successWriter.Sprintf("0")
if analysis.Summary().TotalDrifted > 0 {

View File

@ -23,7 +23,7 @@ Found changed resources:
- a: "oldValue" => <nil>
Found 10 resource(s)
- 20% coverage
- 2 resource(s) managed by terraform
- 2 resource(s) managed by Terraform
- 2/2 resource(s) out of sync with Terraform state
- 4 resource(s) not managed by Terraform
- 4 resource(s) found in a Terraform state but missing on the cloud provider

View File

@ -8,7 +8,7 @@ Found changed resources:
~ struct.0.string: "one" => "two" (computed)
Found 1 resource(s)
- 100% coverage
- 1 resource(s) managed by terraform
- 1 resource(s) managed by Terraform
- 1/1 resource(s) out of sync with Terraform state
- 0 resource(s) not managed by Terraform
- 0 resource(s) found in a Terraform state but missing on the cloud provider

View File

@ -6,7 +6,7 @@ Found resources not covered by IaC:
- duysgkfdjfdgfhd
Found 3 resource(s)
- 33% coverage
- 1 resource(s) managed by terraform
- 1 resource(s) managed by Terraform
- 0/1 resource(s) out of sync with Terraform state
- 1 resource(s) not managed by Terraform
- 1 resource(s) found in a Terraform state but missing on the cloud provider

View File

@ -30,7 +30,7 @@ Found changed resources:
Found 2 resource(s)
- 100% coverage
- 2 resource(s) managed by terraform
- 2 resource(s) managed by Terraform
- 2/2 resource(s) out of sync with Terraform state
- 0 resource(s) not managed by Terraform
- 0 resource(s) found in a Terraform state but missing on the cloud provider

View File

@ -13,7 +13,7 @@ Found changed resources:
~ Name: "" => "resource with diff"
Found 3 resource(s)
- 33% coverage
- 1 resource(s) managed by terraform
- 1 resource(s) managed by Terraform
- 1/1 resource(s) out of sync with Terraform state
- 1 resource(s) not managed by Terraform
- 1 resource(s) found in a Terraform state but missing on the cloud provider

View File

@ -3,6 +3,6 @@ Found resources not covered by IaC:
- unmanaged-id-1
Found 1 resource(s)
- 0% coverage
- 0 resource(s) managed by terraform
- 0 resource(s) managed by Terraform
- 1 resource(s) not managed by Terraform
- 0 resource(s) found in a Terraform state but missing on the cloud provider