Closed kaufers closed 6 years ago
:exclamation: No coverage uploaded for pull request base (
master@ce3e073
). Click here to learn what that means. The diff coverage is9%
.
@@ Coverage Diff @@
## master #878 +/- ##
=========================================
Coverage ? 48.55%
=========================================
Files ? 94
Lines ? 8448
Branches ? 0
=========================================
Hits ? 4102
Misses ? 3980
Partials ? 366
Impacted Files | Coverage Δ | |
---|---|---|
pkg/provider/terraform/instance/show.go | 100% <ø> (ø) |
|
pkg/provider/terraform/instance/terraform.go | 0% <0%> (ø) |
|
pkg/provider/terraform/instance/apply.go | 75.27% <100%> (ø) |
|
pkg/provider/terraform/instance/plugin.go | 88.36% <62.5%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ce3e073...8f3a975. Read the comment docs.
The CLI semantics of terraform changed between v0.9.x and v0.10.x+. In order to handle updates this PR does the following:
terraform
command execs to a newterraform.go
file and creates a commontf
interface
. AterraformBase
stuct
implements the interface for terraform v0.9.x andterraformV10
struct
implements the interface for terraform v0.10.x+ (currently supports v0.10.x and v0.11.x).FakeTerraform
struct
that implements thetf
interface so that we can simply implement the interface functions that are needed for testing-auto-approve=true
CLI arg onterraform apply
tf.json
file before invokingterraform import