"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "internal/terraform/context_plan_test.go" between
terraform-1.0.2.tar.gz and terraform-1.0.3.tar.gz

About: Terraform is a tool for building, changing, and versioning a datacenter infrastructure (written in Go).

context_plan_test.go  (terraform-1.0.2):context_plan_test.go  (terraform-1.0.3)
skipping to change at line 4796 skipping to change at line 4796
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
if ric.Addr.String() != "aws_instance.foo" { if ric.Addr.String() != "aws_instance.foo" {
t.Fatalf("unexpected resource: %s", ric.Addr) t.Fatalf("unexpected resource: %s", ric.Addr)
} }
checkVals(t, objectVal(t, schema, map[string]cty.Value{ checkVals(t, objectVal(t, schema, map[string]cty.Value{
"id": cty.StringVal("bar"), "id": cty.StringVal("bar"),
"ami": cty.StringVal("ami-abcd1234").Mark("sensitive"), "ami": cty.StringVal("ami-abcd1234"),
"type": cty.StringVal("aws_instance"), "type": cty.StringVal("aws_instance"),
}), ric.After) }), ric.After)
} }
func TestContext2Plan_moduleMapLiteral(t *testing.T) { func TestContext2Plan_moduleMapLiteral(t *testing.T) {
m := testModule(t, "plan-module-map-literal") m := testModule(t, "plan-module-map-literal")
p := testProvider("aws") p := testProvider("aws")
p.GetProviderSchemaResponse = getProviderSchemaResponseFromProviderSchema (&ProviderSchema{ p.GetProviderSchemaResponse = getProviderSchemaResponseFromProviderSchema (&ProviderSchema{
ResourceTypes: map[string]*configschema.Block{ ResourceTypes: map[string]*configschema.Block{
"aws_instance": { "aws_instance": {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)