An iceberg had washed ashore.

Literal

Iceberg [subject-が] shore [to-に] had-been-washed-up.

打ち上げられていた combines the compound verb 打ち上げる ('to wash up') in passive form with ていた, marking a past resultative state — the iceberg was already there when observed.