MCPcopy Create free account
hub / github.com/airbnb/binaryalert / apply

Method apply

cli/manager.py:112–119  ·  view source on GitHub ↗

Apply any configuration/package changes with Terraform

()

Source from the content-addressed store, hash-verified

110
111 @staticmethod
112 def apply() -> None:
113 """Apply any configuration/package changes with Terraform"""
114 os.chdir(TERRAFORM_DIR)
115 subprocess.check_call(['terraform', 'init'])
116 subprocess.check_call(['terraform', 'fmt'])
117
118 # Apply changes (requires interactive approval)
119 subprocess.check_call(['terraform', 'apply', '-auto-approve=false'])
120
121 def build(self) -> None:
122 """Build Lambda packages (saves *.zip files in terraform/)"""

Callers 2

deployMethod · 0.95
test_applyMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_applyMethod · 0.64