File tree Expand file tree Collapse file tree 4 files changed +551
-105
lines changed
kickstarter/terraform/gcp Expand file tree Collapse file tree 4 files changed +551
-105
lines changed Original file line number Diff line number Diff line change 1
- bundle.zip
2
- extension.zip
1
+ bundle.zip *
2
+ extension.zip *
Original file line number Diff line number Diff line change @@ -51,7 +51,13 @@ resource "null_resource" "install_activegate" {
51
51
" sudo apt-get install -y wget" ,
52
52
" wget -O ActiveGate.sh \" ${ local . activegate_installer_url } \" --header=\" Authorization: Api-Token ${ var . dynatrace_api_token } \" " ,
53
53
" chmod +x ActiveGate.sh" ,
54
- " sudo ./ActiveGate.sh"
54
+ " sudo ./ActiveGate.sh" ,
55
+ " sudo add-apt-repository ppa:deadsnakes/ppa -y" ,
56
+ " sudo apt update" ,
57
+ " sudo apt install -y python3.12 python3.12-venv python3.12-dev" ,
58
+ " python3.12 -m venv venv" ,
59
+ " . venv/bin/activate" ,
60
+ " pip install redis"
55
61
]
56
62
}
57
63
connection {
@@ -73,6 +79,8 @@ resource "null_resource" "upload_extension" {
73
79
pip install dt-cli
74
80
base_dir=$(pwd)
75
81
cd ../../..
82
+ rm -f bundle.zip
83
+ rm -f extension.zip
76
84
dt extension assemble
77
85
dt extension sign --key $base_dir/${ var . developer_pem }
78
86
dt extension upload --tenant-url ${ local . dynatrace_tenant_url } --api-token ${ var . dynatrace_api_token } bundle.zip
You can’t perform that action at this time.
0 commit comments