Clean workflow files
This commit is contained in:
parent
4245faae73
commit
f4b8a61981
|
@ -46,19 +46,16 @@ runs:
|
|||
echo 'disable_checkpoint = true' \
|
||||
| tee -a /home/runner/.terraformrc
|
||||
mkdir -p ${{ env.TF_PLUGIN_CACHE_DIR }}
|
||||
|
||||
- name: Download lockfile
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: lockfile
|
||||
path: tools/lockfile
|
||||
|
||||
- name: Cache Terraform
|
||||
- name: Download Terraform provider cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ env.TF_PLUGIN_CACHE_DIR }}
|
||||
key: ${{ runner.os }}-terraform-${{ hashFiles('tools/lockfile/.terraform.lock.hcl') }}
|
||||
|
||||
# avoid conflicts with user-installed providers on local machines
|
||||
- name: Pin provider versions
|
||||
shell: bash
|
||||
|
|
|
@ -53,17 +53,12 @@ jobs:
|
|||
cd tools/lockfile
|
||||
terraform init -upgrade=true
|
||||
|
||||
- name: Cache Terraform
|
||||
- name: Upload Terraform provider cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ env.TF_PLUGIN_CACHE_DIR }}
|
||||
key: ${{ runner.os }}-terraform-${{ hashFiles('tools/lockfile/.terraform.lock.hcl') }}
|
||||
|
||||
- name: tf provider cache content
|
||||
shell: bash
|
||||
run: |
|
||||
ls -Ra /home/runner/.terraform.d/plugin-cache
|
||||
|
||||
- name: Upload lockfile
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
@ -12,14 +12,14 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
resource "local_file" "default" {}
|
||||
data "archive_file" "bundle" {}
|
||||
resource "azuread_user" "default" {}
|
||||
resource "azurerm_resource_group" "default" {}
|
||||
resource "github_branch" "default" {}
|
||||
resource "google_service_account" "sa1" {}
|
||||
resource "google_service_account" "sa2" { provider = google-beta }
|
||||
resource "local_file" "default" {}
|
||||
resource "random_pet" "default" {}
|
||||
resource "tls_private_key" "default" {}
|
||||
resource "github_branch" "default" {}
|
||||
resource "time_static" "default" {}
|
||||
resource "tls_private_key" "default" {}
|
||||
resource "vsphere_role" "default" {}
|
||||
resource "azurerm_resource_group" "default" {}
|
||||
resource "azuread_user" "default" {}
|
||||
data "archive_file" "bundle" {}
|
||||
|
|
Loading…
Reference in New Issue