MitocGroup / recink

REciNK - Rethink Continuous Integration for JavaScript Applications
https://www.npmjs.org/package/recink
Mozilla Public License 2.0
14 stars 5 forks source link

Skip option for `plan` is not applied #156

Closed avozicov closed 6 years ago

avozicov commented 6 years ago

We need to fix output for the use case when running recink run terraform with plan : false option

Actual Result:

Please use the following config and provided command to reproduce the issue:

Please refer to attachment for output log: Screen Shot 2018-03-06 at 15.18.46.png

ddimitrioglo commented 6 years ago

@avozicov could not reproduce the issue with the following config

--- 
$:
  preprocess:
    '$.terraform.vars.access_key': 'eval'
    '$.terraform.vars.secret_key': 'eval'
    '$.terraform.vars.region': 'eval'
  emit:
    pattern:
      - /.+\.js.*$/i
    ignore:
      - /^(.*\/)?node_modules(\/?$)?/i
  terraform:
    resource: '.resource'
    plan: false
    apply: false
    destroy: false
    vars:
      access_key: 'process.env.AWS_ACCESS_KEY_ID'
      secret_key: 'process.env.AWS_SECRET_ACCESS_KEY'
      region: 'process.env.AWS_DEFAULT_REGION'

iam2:
  root: './iam'
  terraform:
    cache: false

Pease let me know if I'm missing something

avozicov commented 6 years ago

@ddimitrioglo I can confirm that issue is not reproduced anymore on my side as well so we can mark it as resolved ;)

screen shot 2018-04-11 at 17 03 52
eistrati commented 6 years ago

Checked.