# ----------------------------------------------------------------------------
#
#     ***     AUTO GENERATED CODE    ***    Type: MMv1     ***
#
# ----------------------------------------------------------------------------
#
#     This file is automatically generated by Magic Modules and manual
#     changes will be clobbered when the file is regenerated.
#
#     Please read more about how to change this file in README.md and
#     CONTRIBUTING.md located at the root of this package.
#
# ----------------------------------------------------------------------------

title 'Test GCP google_compute_xpn_resources resource.'

gcp_project_id = input(:gcp_project_id, value: 'gcp_project_id', description: 'The GCP project identifier.')

xpn_resources = input('xpn_resources', value: {
  "id": "skilled-circle-407309",
  "type": "PROJECT"
}, description: 'xpn_resources description')

control 'google_compute_xpn_resources-1.0' do
  impact 1.0
  title 'google_compute_xpn_resources resource test'

    describe google_compute_xpn_resources(project: gcp_project_id) do
      it { should exist }
      its('ids') { should include xpn_resources['id']}
      its('types') { should include xpn_resources['type']}
    end
end
