{"action":"created","issue":{"url":"https://api.github.com/repos/ministryofjustice/analytics-platform-atlantis-example/issues/8","repository_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-atlantis-example","labels_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-atlantis-example/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-atlantis-example/issues/8/comments","events_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-atlantis-example/issues/8/events","html_url":"https://github.com/ministryofjustice/analytics-platform-atlantis-example/pull/8","id":395526185,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxOTU4NTIz","number":8,"title":"Add example lambda function","user":{"login":"kerin","id":38736,"node_id":"MDQ6VXNlcjM4NzM2","avatar_url":"https://avatars2.githubusercontent.com/u/38736?v=4","gravatar_id":"","url":"https://api.github.com/users/kerin","html_url":"https://github.com/kerin","followers_url":"https://api.github.com/users/kerin/followers","following_url":"https://api.github.com/users/kerin/following{/other_user}","gists_url":"https://api.github.com/users/kerin/gists{/gist_id}","starred_url":"https://api.github.com/users/kerin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kerin/subscriptions","organizations_url":"https://api.github.com/users/kerin/orgs","repos_url":"https://api.github.com/users/kerin/repos","events_url":"https://api.github.com/users/kerin/events{/privacy}","received_events_url":"https://api.github.com/users/kerin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2019-01-03T10:41:41Z","updated_at":"2019-01-03T12:22:45Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/ministryofjustice/analytics-platform-atlantis-example/pulls/8","html_url":"https://github.com/ministryofjustice/analytics-platform-atlantis-example/pull/8","diff_url":"https://github.com/ministryofjustice/analytics-platform-atlantis-example/pull/8.diff","patch_url":"https://github.com/ministryofjustice/analytics-platform-atlantis-example/pull/8.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ministryofjustice/analytics-platform-atlantis-example/issues/comments/451128649","html_url":"https://github.com/ministryofjustice/analytics-platform-atlantis-example/pull/8#issuecomment-451128649","issue_url":"https://api.github.com/repos/ministryofjustice/analytics-platform-atlantis-example/issues/8","id":451128649,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTEyODY0OQ==","user":{"login":"mojanalytics","id":30179747,"node_id":"MDQ6VXNlcjMwMTc5NzQ3","avatar_url":"https://avatars0.githubusercontent.com/u/30179747?v=4","gravatar_id":"","url":"https://api.github.com/users/mojanalytics","html_url":"https://github.com/mojanalytics","followers_url":"https://api.github.com/users/mojanalytics/followers","following_url":"https://api.github.com/users/mojanalytics/following{/other_user}","gists_url":"https://api.github.com/users/mojanalytics/gists{/gist_id}","starred_url":"https://api.github.com/users/mojanalytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojanalytics/subscriptions","organizations_url":"https://api.github.com/users/mojanalytics/orgs","repos_url":"https://api.github.com/users/mojanalytics/repos","events_url":"https://api.github.com/users/mojanalytics/events{/privacy}","received_events_url":"https://api.github.com/users/mojanalytics/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T12:22:45Z","updated_at":"2019-01-03T12:22:45Z","author_association":"NONE","body":"Ran Plan for dir: `infra/terraform/resources/example` workspace: `default`\n\n<details><summary>Show Output</summary>\n\n```diff\nRefreshing Terraform state in-memory prior to plan...\nThe refreshed state will be used to calculate this plan, but will not be\npersisted to local or remote state storage.\n\ndata.archive_file.hello_world: Refreshing state...\naws_s3_bucket.bucket: Refreshing state... (ID: mojap-atlantis-test-bucket)\ndata.aws_iam_policy_document.hello_world: Refreshing state...\naws_iam_role.hello_world: Refreshing state... (ID: atlantis_hello_world_lambda)\n\n------------------------------------------------------------------------\n\nAn execution plan has been generated and is shown below.\nResource actions are indicated with the following symbols:\n  + create\n\nTerraform will perform the following actions:\n\n+ module.lambda_function.aws_lambda_function.hello_world\n      id:                                <computed>\n      arn:                               <computed>\n      environment.#:                     \"1\"\n      environment.0.variables.%:         \"1\"\n      environment.0.variables.SENSITIVE: \"******\"\n      filename:                          \"/tmp/hello_world.zip\"\n      function_name:                     \"atlantis_hello_world\"\n      handler:                           \"hello_handler\"\n      invoke_arn:                        <computed>\n      last_modified:                     <computed>\n      memory_size:                       \"128\"\n      publish:                           \"false\"\n      qualified_arn:                     <computed>\n      role:                              \"arn:aws:iam::593291632749:role/atlantis_hello_world_lambda\"\n      runtime:                           \"python3.6\"\n      source_code_hash:                  \"eyVzJOaeVkM6Fn2XRRb4PRJMBFdQHqXTuaTJ7YRQPqM=\"\n      source_code_size:                  <computed>\n      timeout:                           \"300\"\n      tracing_config.#:                  <computed>\n      version:                           <computed>\nPlan: 1 to add, 0 to change, 0 to destroy.\n\n------------------------------------------------------------------------\n\nThis plan was saved to: /home/atlantis/.atlantis/repos/ministryofjustice/analytics-platform-atlantis-example/8/default/infra/terraform/resources/example/default.tfplan\n\nTo perform exactly these actions, run the following command to apply:\n    terraform apply \"/home/atlantis/.atlantis/repos/ministryofjustice/analytics-platform-atlantis-example/8/default/infra/terraform/resources/example/default.tfplan\"\n\n\n```\n\n* :arrow_forward: To **apply** this plan, comment:\n    * `atlantis apply -d infra/terraform/resources/example`\n* :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.global.mojanalytics.xyz/lock?id=ministryofjustice%252Fanalytics-platform-atlantis-example%252Finfra%252Fterraform%252Fresources%252Fexample%252Fdefault)\n* :repeat: To **plan** this project again, comment:\n    * `atlantis plan -d infra/terraform/resources/example`\n</details>\n\n---\n* :fast_forward: To **apply** all unapplied plans from this pull request, comment:\n    * `atlantis apply`\n"}}
{"actor":{"display_login":"mojanalytics"}}