{"action":"opened","issue":{"url":"https://api.github.com/repos/MitocGroup/recink/issues/144","repository_url":"https://api.github.com/repos/MitocGroup/recink","labels_url":"https://api.github.com/repos/MitocGroup/recink/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/MitocGroup/recink/issues/144/comments","events_url":"https://api.github.com/repos/MitocGroup/recink/issues/144/events","html_url":"https://github.com/MitocGroup/recink/issues/144","id":300718305,"number":144,"title":"Custom resource module does not overrides the default terraform config","user":{"login":"avozicov","id":12330493,"avatar_url":"https://avatars3.githubusercontent.com/u/12330493?v=4","gravatar_id":"","url":"https://api.github.com/users/avozicov","html_url":"https://github.com/avozicov","followers_url":"https://api.github.com/users/avozicov/followers","following_url":"https://api.github.com/users/avozicov/following{/other_user}","gists_url":"https://api.github.com/users/avozicov/gists{/gist_id}","starred_url":"https://api.github.com/users/avozicov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avozicov/subscriptions","organizations_url":"https://api.github.com/users/avozicov/orgs","repos_url":"https://api.github.com/users/avozicov/repos","events_url":"https://api.github.com/users/avozicov/events{/privacy}","received_events_url":"https://api.github.com/users/avozicov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ddimitrioglo","id":9005667,"avatar_url":"https://avatars1.githubusercontent.com/u/9005667?v=4","gravatar_id":"","url":"https://api.github.com/users/ddimitrioglo","html_url":"https://github.com/ddimitrioglo","followers_url":"https://api.github.com/users/ddimitrioglo/followers","following_url":"https://api.github.com/users/ddimitrioglo/following{/other_user}","gists_url":"https://api.github.com/users/ddimitrioglo/gists{/gist_id}","starred_url":"https://api.github.com/users/ddimitrioglo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddimitrioglo/subscriptions","organizations_url":"https://api.github.com/users/ddimitrioglo/orgs","repos_url":"https://api.github.com/users/ddimitrioglo/repos","events_url":"https://api.github.com/users/ddimitrioglo/events{/privacy}","received_events_url":"https://api.github.com/users/ddimitrioglo/received_events","type":"User","site_admin":false},"assignees":[{"login":"ddimitrioglo","id":9005667,"avatar_url":"https://avatars1.githubusercontent.com/u/9005667?v=4","gravatar_id":"","url":"https://api.github.com/users/ddimitrioglo","html_url":"https://github.com/ddimitrioglo","followers_url":"https://api.github.com/users/ddimitrioglo/followers","following_url":"https://api.github.com/users/ddimitrioglo/following{/other_user}","gists_url":"https://api.github.com/users/ddimitrioglo/gists{/gist_id}","starred_url":"https://api.github.com/users/ddimitrioglo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddimitrioglo/subscriptions","organizations_url":"https://api.github.com/users/ddimitrioglo/orgs","repos_url":"https://api.github.com/users/ddimitrioglo/repos","events_url":"https://api.github.com/users/ddimitrioglo/events{/privacy}","received_events_url":"https://api.github.com/users/ddimitrioglo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-27T17:14:22Z","updated_at":"2018-02-27T17:14:22Z","closed_at":null,"author_association":"NONE","body":"Please follow the provided steps to reproduce the issues:\n- Configure basic terraform script for aws resource\n- Configure terraform modules in `recink.yml` in the following mode:\n\n```\nterraform:\n    resource: '.resource'\n    cache: \n      options:\n          - 's3://[your_bucket_name]'\n          -\n            region: 'process.env.AWS_DEFAULT_REGION'\n            accessKeyId: 'process.env.AWS_ACCESS_KEY_ID'\n            secretAccessKey: 'process.env.AWS_SECRET_ACCESS_KEY'\n    plan: false\n    apply: true\n    destroy: false\n    vars:\n      access_key: 'process.env.AWS_ACCESS_KEY_ID'\n      secret_key: 'process.env.AWS_SECRET_ACCESS_KEY'\n      region: 'process.env.AWS_DEFAULT_REGION'\n  \n[module_name]:\n  root: './module_name'\n  terraform:\n    version: '0.11.0'\n    plan: true\n    apply: false\n    destroy: false\n    current-workspace: default\n    available-workspaces:\n      prod:\n        plan: false\n        apply: false\n        destroy: false\n        var-files:\n          - terraform.tfvars\n```\n- run `recink run terraform` command including required module `--include-moduels='[module_name]'`\n\nAs we can see from the `.recink.yml` config it is expected to skip `apply` for `[module_name]` and run just `plan` option which is overridden for default `terraform` config in `[module_name]` section \n\n\nIssue:\n- Apply is not skipped after running `recink run terraform --include-moduels='[module_name]'` as was defined in the particular module in `.recink.yml`\n\nPlease refer to attachment for more details:\n![apply.png](https://images.zenhubusercontent.com/55a909194f7a08fbb7f3c7e0/89d25bc1-f6d1-4b09-8d33-05b360f5b618)"}}
{"actor":{"display_login":"avozicov"}}