This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
"""Approve pull requests on BitBucket Server. | |
If you are trying to approve pull requests on BitBucket from external/3rd- | |
party tools (like Jenkins) there may be plugins available to do the job | |
automatically - if you're lucky. The `Bitbucket Approve Plugin`_ seems to be | |
one such plugin. | |
Unfortunately, it's only for the *CLOUD*-hosted version of Bitbucket. The | |
self-hosted version, Bitbucket Server (formerly known as Stash) uses a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "template_file" "inventory" { | |
template = "${file("inventory.tpl")}" | |
vars { | |
backend_ip = "${aws_instance.backend.public_ip}" | |
frontend_ip = "${aws_instance.frontend.public_ip}" | |
landing_ip = "${aws_instance.landing.public_ip}" | |
key_path = "${var.instance_key_path}" | |
} | |
} |