Skip to content

Getting error with terraform plan command #14

@narasimha18sv

Description

@narasimha18sv

from python_terraform import Terraform, IsFlagged
from utils import load_bcms_config

conf=load_bcms_config("config.yaml") # code to read yaml file with required values
script_dir="/root/examples/compute/instance/"
tf = Terraform(working_dir=script_dir, variables=conf)
tf.plan()

terraform script i am using :
https://github.com/oracle/terraform-provider-baremetal/tree/master/docs/examples/compute/instance

Getting below error with the terraform plan command:

  • provider.baremetal: asn1: structure error: tags don't match (2 vs {class:0 tag:16 length:13 isCompound:true}) {optional:false explicit:false application:false defaultValue: tag: stringType:0 timeType:0 set:false omitEmpty:false} int @2

2017-08-04 04:04:51,418 :: WARNING :: error: Error refreshing state: 1 error(s) occurred:

  • provider.baremetal: asn1: structure error: tags don't match (2 vs {class:0 tag:16 length:13 isCompound:true}) {optional:false explicit:false application:false defaultValue: tag: stringType:0 timeType:0 set:false omitEmpty:false} int @2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions